Skip to content
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

Merged
merged 1 commit into from
Dec 14, 2016
Merged

yarn: init at 0.17.8 #20635

merged 1 commit into from
Dec 14, 2016

Conversation

moretea
Copy link
Contributor

@moretea moretea commented Nov 22, 2016

Motivation for this change

Yarn is a new javascript packagemanager by Facebook, inspired by Bundler and Cargo.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@moretea moretea mentioned this pull request Nov 22, 2016
2 tasks
# 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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@joachifm
Copy link
Contributor

cc @svanderburg might be able to comment on this.

@globin globin merged commit b217c0a into NixOS:master Dec 14, 2016
@globin
Copy link
Member

globin commented Dec 14, 2016

Tested and everything seems to work.

@wmertens
Copy link
Contributor

In the mean time, Yarn is at 0.17.10 :)

@moretea
Copy link
Contributor Author

moretea commented Dec 16, 2016

Then I'll update it :)

@moretea moretea deleted the add-yarn branch January 16, 2017 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants