Comments (7)
Ran into the same problem while trying to install nixos.rustChannels.stable.rust (1.18.0). nixos.rustChannels.nightly.rust (1.20.0) works perfectly.
Installing on top of the stable NixOS branch (17.03.1461.ebeb8901a2 (Gorilla))
from nixpkgs-mozilla.
@aepsil0n I suppose it doesn't hurt if we check for 2 more folders :)
Thank you @rexim for the PR
from nixpkgs-mozilla.
It turns out the directory is actually called bash_completions.d
(note the plural). I really wonder how the name changedโฆ
from nixpkgs-mozilla.
After reading the comments of @aepsil0n I made the following changes rexim@466ae2d And now it works on stable but doesn't work on nightly. :)
Maybe we should check for both bash_compeition and bash_completions and take actions according to which one exists?
from nixpkgs-mozilla.
@rexim ๐ could you create a PR for this? eg. loop over all the folders ("etc/bash_completion.d","share/bash_completion/completions","etc/bash_completions.d","share/bash_completions/completions";
) and then break out of the loop if $paths
does not exists? eg.
for paths in "etc/bash_completion.d","share/bash_completion/completions","etc/bash_completions.d","share/bash_completions/completions"; do
if [ ! -e $paths ]; then continue; fi
...
done
And maybe add a comment with a link to this issue.
EDIT: please add me as a reviewer (or ping me) and I will look at it asap.
from nixpkgs-mozilla.
@garbas I have a pretty limited amount of resources but I will try to do something in the nearest future. If I don't submit PR in three days, consider me not working on that. :)
from nixpkgs-mozilla.
Thanks for the PR!
Interestingly, now that Rust 1.19 was released yesterday, the issue magically disappeared. I wonder, whether we should still address the issue, just in case one wants to build an old version at some point?
from nixpkgs-mozilla.
Related Issues (20)
- Derivations created using this repository are not reproducible HOT 2
- Firefox-nightly 96.0a1 fail to start on NixOS 21.05 HOT 7
- Should git-cinnabar be included into firefox development overlay? HOT 2
- Undefined variable 'phlay' HOT 1
- Firefox fails to compile because -fPIC is passed to `as` HOT 1
- firefox-nightly fails to use vaapi with mesa's radeon driver on NixOS HOT 1
- example in README.md doesn't work with rust-toolchain.toml file HOT 1
- `couldn't find remote ref refs/heads/master` when building `/nix/store/<hash>-channel-rust-1.55.0.toml.drv` HOT 2
- Suddenly can't rebuild anymore because "wrapper called with unexpected argument 'browserName'" HOT 2
- firefox-overlay, impurity, and a missing link in GPG verification? HOT 3
- How to get aarch64 Firefox Nightly builds?
- Install different versions of Firefox side by side. HOT 2
- rustChannelOf doesn't error on argument name typos
- rr fails to build when using this overlay with newer nixpkgs HOT 5
- Building `rustChannelOf({...}).rust-src` from `rust-overlay.nix` errors. HOT 6
- What to do about stdarch, being submodule, not being in source tarball? HOT 1
- Firefox started to crash in some situations HOT 1
- Deprecation warning: "rustPlatform.rust.cargo is deprecated. Use cargo instead." May be easy fix, but... HOT 2
- archive.mozilla.org is returning a bad SSL cert
- Firefox Nightly is segfaulting (SIGSEGV) after most recent update; installing firefox-beta fixes it HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixpkgs-mozilla.