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

haskellPackages.hnix: jailbreak & fix tests #40535

Merged

Conversation

Profpatsch
Copy link
Member

@Profpatsch Profpatsch commented May 15, 2018

@GrahamcOfBorg build haskellPackages.hnix

@Profpatsch Profpatsch requested a review from peti as a code owner May 15, 2018 01:32
Some of the new tests need the `nix` executable on `PATH`.
One also needs `hpack`, but we really don’t want to embiggen (heh) the closure
because of that.
@Profpatsch
Copy link
Member Author

@GrahamcOfBorg build haskellPackages.hnix

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.hnix

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: haskellPackages.hnix

Partial log (click to expand)

strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pysi9a5cshbkidvz5i688j2p8mrfmii5-hnix-0.5.1/lib  /nix/store/pysi9a5cshbkidvz5i688j2p8mrfmii5-hnix-0.5.1/bin
patching script interpreter paths in /nix/store/pysi9a5cshbkidvz5i688j2p8mrfmii5-hnix-0.5.1
checking for references to /build in /nix/store/pysi9a5cshbkidvz5i688j2p8mrfmii5-hnix-0.5.1...
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/v2b80zy5wc5n5k3gx7ab2vhkhv241k0f-hnix-0.5.1-doc
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/v2b80zy5wc5n5k3gx7ab2vhkhv241k0f-hnix-0.5.1-doc
checking for references to /build in /nix/store/v2b80zy5wc5n5k3gx7ab2vhkhv241k0f-hnix-0.5.1-doc...
/nix/store/pysi9a5cshbkidvz5i688j2p8mrfmii5-hnix-0.5.1

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

2 participants