-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
asdf-vm: init at 0.7.8, fn-cli: init at 0.5.99 #92924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm very keen to have Firstly, it seems there's a dependency missing, because when i try to install Python as follows: $ asdf plugin add python
$ asdf install python 3.8.1
.. lots of output ..
make: ar: No such file or directory I was unable to find a related Nix package providing ar, maybe that's in coreutils? Anyway, perhaps that should be added as a runtime dependency? Or perhaps that's not the Nix way -- i'm still learning! Secondly, i was able to install NodeJS as follows: $ asdf plugin add nodejs
$ asdf install nodejs 12.18.3
$ asdf shell nodejs 12.18.3
$ npm
/nix/store/gmkxfwl44lxfr9li8bk9f0qdr5xz8vpv-asdf-vm-0.7.8/asdf-vm/lib/commands/command-exec.bash: line 28: /home/paul/.asdf/installs/nodejs/12.18.3/bin/node: No such file or directory What's really weird is that it seems Zsh is lying -- look at the following: $ stat /home/paul/.asdf/installs/nodejs/12.18.3/bin/node
File: /home/paul/.asdf/installs/nodejs/12.18.3/bin/node
Size: 48646656 Blocks: 95016 IO Block: 4096 regular file
Device: 1ch/28d Inode: 1725141 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ paul) Gid: ( 100/ users)
Access: 2020-09-10 11:31:00.361520349 +1000
Modify: 2020-07-23 01:00:17.000000000 +1000
Change: 2020-09-10 11:27:41.101404973 +1000
Birth: 2020-09-10 11:27:40.854411014 +1000 So it's definitely there 🤔 Here's what i do in my asdf=$(nix-build --no-out-link '<nixpkgs>' -I nixpkgs=$HOME/nixpkgs -A asdf-vm)
if [[ -d $asdf ]]; then
. "$asdf/asdf-vm/asdf.sh"
fi Apologies for the long story, but i'm hoping somebody can help please 😄 |
As an update, installing |
Aha, in reference to my previous message where i couldn't figure out why i was getting I managed to find a workaround to force |
@SuperSandro2000 Hi, thanks for your suggestion, sorry for the so late reply, I finally(😝) has time to fix my PR I created a new PR just for |
Hi @toothbrush , I created another PR #124495 , can you please try again? |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)