-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
yarn: init at 0.17.8 #20635
yarn: init at 0.17.8 #20635
Conversation
# Restore write permissions to make building work | ||
find "$packageDir" -type d -print0 | xargs -0 chmod u+x | ||
chmod -R u+w "$packageDir" | ||
|
||
|
||
# Move the extracted tarball into the output folder | ||
mv "$packageDir" "$DIR/${packageName}" | ||
elif [ -d "${src}" ] | ||
then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says that strippedName
would be set on older nixpkgs, implying that it is unset in newer versions (and so must be set). Is that not the case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only added one line in pkgs/top-level/node-packages.json
, the other changes are auto generated by a script, invoked to the letter of the instructions AFAIK.
cc @svanderburg might be able to comment on this. |
Tested and everything seems to work. |
In the mean time, Yarn is at 0.17.10 :) |
Then I'll update it :) |
Motivation for this change
Yarn is a new javascript packagemanager by Facebook, inspired by Bundler and Cargo.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)