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

servant-sphinx-documentation: fix sha256sum #44948

Merged
merged 1 commit into from Aug 13, 2018
Merged

Conversation

Izorkin
Copy link
Contributor

@Izorkin Izorkin commented Aug 12, 2018

Motivation for this change

Error build cachix -

nix build -f ~/nixpkgs cachix                                                                                                                                                                                                
fixed-output derivation produced path '/nix/store/8z8njf3i1jydzjq1zlc0v3qb7813jm2f-source' with sha256 hash '0kqglih3rv12nmkzxvalhfaaafk4b2irvv9x5xmc48i1ns71y23l' instead of the expected hash '0bwd5dy3crn08dijn06dr3mdsww98kqxfp8v5mvrdws5glvcxdsg'
cannot build derivation '/nix/store/dj3lpyqdjd432823wfzpp5ps8m8vkp88-servant-sphinx-documentation-0.14.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/l10yggix3irvz371vc0h3sbnf2l5fjcd-servant-0.14.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/fax8wkbv8fzvrlhagbwxh4lrmjs2h5wh-cachix-0.1.1.drv': 1 dependencies couldn't be built
[0 built (1 failed)]
error: build of '/nix/store/fax8wkbv8fzvrlhagbwxh4lrmjs2h5wh-cachix-0.1.1.drv' failed
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.

@basvandijk
Copy link
Member

@GrahamcOfBorg build haskellPackages.servant

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

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

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.servant

Partial log (click to expand)

strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pd2wz40xb6a9ny5naqxi8h2isknlri7f-servant-0.14.1/lib
patching script interpreter paths in /nix/store/pd2wz40xb6a9ny5naqxi8h2isknlri7f-servant-0.14.1
checking for references to /build in /nix/store/pd2wz40xb6a9ny5naqxi8h2isknlri7f-servant-0.14.1...
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/fr46hv8nis2fjp7b4506k7jjbgnfxrx1-servant-0.14.1-doc
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/fr46hv8nis2fjp7b4506k7jjbgnfxrx1-servant-0.14.1-doc
checking for references to /build in /nix/store/fr46hv8nis2fjp7b4506k7jjbgnfxrx1-servant-0.14.1-doc...
/nix/store/pd2wz40xb6a9ny5naqxi8h2isknlri7f-servant-0.14.1

@basvandijk basvandijk merged commit 9968d0f into NixOS:master Aug 13, 2018
@basvandijk
Copy link
Member

Thanks!

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: haskellPackages.servant

Partial log (click to expand)

Preprocessing test suite 'doctests' for servant-0.14.1..
installing
Installing library in /nix/store/kjjrlsfw9pwgqk0vqyaqjjzapd9gidpm-servant-0.14.1/lib/ghc-8.4.3/servant-0.14.1
post-installation fixup
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/kjjrlsfw9pwgqk0vqyaqjjzapd9gidpm-servant-0.14.1/lib
patching script interpreter paths in /nix/store/kjjrlsfw9pwgqk0vqyaqjjzapd9gidpm-servant-0.14.1
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/j0350jklknky2j075966z7rhwdr706m8-servant-0.14.1-doc
/nix/store/kjjrlsfw9pwgqk0vqyaqjjzapd9gidpm-servant-0.14.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

3 participants