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

link-grammar: init at 5.5.0 #46863

Merged
merged 1 commit into from Oct 6, 2018
Merged

link-grammar: init at 5.5.0 #46863

merged 1 commit into from Oct 6, 2018

Conversation

siers
Copy link
Member

@siers siers commented Sep 18, 2018

Motivation for this change

Hasn't been packaged.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@jtojnar gave me this nix file and said he'd be okay with maintaining it, but didn't want to submit a PR himself, so here it is.


stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "5.5.0";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.5.1 is available

@siers siers force-pushed the link-grammar branch 2 times, most recently from 3ae903b to 7ee5e92 Compare September 19, 2018 06:20
@siers
Copy link
Member Author

siers commented Sep 19, 2018

True! I've upped the version and the hash and it works.

@jtojnar
Copy link
Contributor

jtojnar commented Sep 19, 2018

@GrahamcOfBorg build link-grammar

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: link-grammar

Partial log (click to expand)

patching script interpreter paths in /nix/store/0ksvisga8w9j90f72qjybl56qq5hbqyc-link-grammar-5.5.1-bin
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/czwvgaabxnbz5p1iyq548s9vng10mxry-link-grammar-5.5.1/lib
patching script interpreter paths in /nix/store/czwvgaabxnbz5p1iyq548s9vng10mxry-link-grammar-5.5.1
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/yimlvhmw7qk9iyrp3j941rbxp1cmpj0g-link-grammar-5.5.1-dev/lib
patching script interpreter paths in /nix/store/yimlvhmw7qk9iyrp3j941rbxp1cmpj0g-link-grammar-5.5.1-dev
gzipping man pages under /nix/store/sm01k8g8grkidmn0y1vmy1sp3dwnl5m3-link-grammar-5.5.1-man/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/sm01k8g8grkidmn0y1vmy1sp3dwnl5m3-link-grammar-5.5.1-man

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: link-grammar

Partial log (click to expand)

strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mkr8vn7x0z1qp4az9ny4nq5cq1cpg0lw-link-grammar-5.5.1-dev/lib
patching script interpreter paths in /nix/store/mkr8vn7x0z1qp4az9ny4nq5cq1cpg0lw-link-grammar-5.5.1-dev
checking for references to /build in /nix/store/mkr8vn7x0z1qp4az9ny4nq5cq1cpg0lw-link-grammar-5.5.1-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/62kvmv4041rf9x4d4ddb8k1nihlam68w-link-grammar-5.5.1-man
gzipping man pages under /nix/store/62kvmv4041rf9x4d4ddb8k1nihlam68w-link-grammar-5.5.1-man/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/62kvmv4041rf9x4d4ddb8k1nihlam68w-link-grammar-5.5.1-man
checking for references to /build in /nix/store/62kvmv4041rf9x4d4ddb8k1nihlam68w-link-grammar-5.5.1-man...
/nix/store/w693dbqmhmlmw6vz4bp6xl8djfhfy72g-link-grammar-5.5.1-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: link-grammar

Partial log (click to expand)

strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/k8jimcrwvxk5ljsnb429xsbs2a74gxw2-link-grammar-5.5.1-dev/lib
patching script interpreter paths in /nix/store/k8jimcrwvxk5ljsnb429xsbs2a74gxw2-link-grammar-5.5.1-dev
checking for references to /build in /nix/store/k8jimcrwvxk5ljsnb429xsbs2a74gxw2-link-grammar-5.5.1-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/rzbw0z6nhfbq345r3gz2k2zfi179hhjd-link-grammar-5.5.1-man
gzipping man pages under /nix/store/rzbw0z6nhfbq345r3gz2k2zfi179hhjd-link-grammar-5.5.1-man/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/rzbw0z6nhfbq345r3gz2k2zfi179hhjd-link-grammar-5.5.1-man
checking for references to /build in /nix/store/rzbw0z6nhfbq345r3gz2k2zfi179hhjd-link-grammar-5.5.1-man...
/nix/store/w4b1anvln52zrqmvx7wradpg91nqyk38-link-grammar-5.5.1-bin

@jtojnar
Copy link
Contributor

jtojnar commented Sep 19, 2018

Now I remember why I did not push this, I did not manage to make it work with system minisat. I wonder if we should bother though – reading some issues, they might replace it with a different solver soon.

Do we need python bindings? If yes, they should probably be moved to a separate output: see https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/volume-key/default.nix, for example.

@@ -1421,6 +1421,8 @@ with pkgs;

libxnd = callPackage ../development/libraries/libxnd { };

link-grammar = callPackages ../tools/text/link-grammar { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be singular, callPackage

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, fixed

@siers
Copy link
Member Author

siers commented Oct 1, 2018

@GrahamcOfBorg build link-grammar

@matthewbauer matthewbauer merged commit e4a6288 into NixOS:master Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants