Giter VIP home page Giter VIP logo

Comments (7)

rexim avatar rexim commented on June 15, 2024 1

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.

garbas avatar garbas commented on June 15, 2024 1

@aepsil0n I suppose it doesn't hurt if we check for 2 more folders :)
Thank you @rexim for the PR

from nixpkgs-mozilla.

milibopp avatar milibopp commented on June 15, 2024

It turns out the directory is actually called bash_completions.d (note the plural). I really wonder how the name changedโ€ฆ

from nixpkgs-mozilla.

rexim avatar rexim commented on June 15, 2024

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.

garbas avatar garbas commented on June 15, 2024

@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.

rexim avatar rexim commented on June 15, 2024

@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.

milibopp avatar milibopp commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.