[Nix-dev] Using git rather than nixpkgs-unstable

Andrew Fraser andy at fraserphysics.com
Mon Dec 21 17:29:30 CET 2015


Thanks for your prompt reply.

Should I use a particular branch from git?

Again, following
https://nixos.org/wiki/How_to_install_nix_in_home_%28on_another_distribution%29,
I did the following rather than use
http://nixos.org/channels/nixpkgs-unstable

    mkdir packages
    cd packages/
    git clone https://github.com/NixOS/nixpkgs.git
    cd
    ln -s /usr/projects/fvs/packages/nixpkgs .nix-defexpr

That let me get started with nix.  I installed hello and man and I can
run them.  However, running "nix-env -i emacs" yields:

SUMMARY OF TEST RESULTS
-----------------------
Files examined: 90
Ran 1598 tests, 1556 results as expected, 4 unexpected, 38 skipped
1 files contained unexpected results:
  tramp-tests.log
Makefile:130: recipe for target 'check-maybe' failed
make[2]: *** [check-maybe] Error 1
make[2]: Leaving directory '/tmp/nix-build-emacs-25.0.50-1b5630e.drv-0/emacs-1b5630e/test/automated'
Makefile:124: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/tmp/nix-build-emacs-25.0.50-1b5630e.drv-0/emacs-1b5630e/test/automated'
Makefile:925: recipe for target 'check' failed
make: *** [check] Error 2
builder for ‘/usr/projects/fvs/nix/store/0z0zh7qb7x21ygqsaa03gj51asr0bmr6-emacs-25.0.50-1b5630e.drv’ failed with exit code 2
error: build of ‘/usr/projects/fvs/nix/store/0z0zh7qb7x21ygqsaa03gj51asr0bmr6-emacs-25.0.50-1b5630e.drv’ failed

Andy

>>>>> "V" == Vladimír Čunát <vcunat at gmail.com> writes:

    >> output path
    >> ‘/usr/projects/fvs/nix/store/rhn2bzqxay1723xgbs560s2aig3xzsv2-bash43-042’
    >> should have sha256 hash
    >> ‘1bwhssay66n75fy0pxcrwbm032s6fvfg7dblzbrzzn5k38a56nmp’, instead
    >> has ‘06a90k0p6bqc4wk2dsmapna69124an76xvlnlj3xm497vci968dc’

    V> That's https://github.com/NixOS/nixpkgs/issues/11793 We've had
    V> loads of these reports recently.

    V> Vladimir


More information about the nix-dev mailing list