Repository navigation
Closed
Description
I'm trying to install this revision of faust:
For installing, I'm looking at the help buttons for the two 'build products' entries. One directs me to use the following command:
`nix-install-package --non-interactive --url http://hydra.nixos.org/build/28945388/nix/pkg/faust-2.0-a41-x86_64-linux.nixpkg`
At first it failed because "http://hydra.nixos.org" was not part of my nix.conf. I fixed that by changing my configration.nix and rebuilding. Now I get this unknown key error:
bburdette@nixosthe1:~/code/faustthings]$ sudo nix-install-package --non-interactive --url http://hydra.nixos.org/build/28945388/nix/pkg/faust-2.0-a41-x86_64-linux.nixpkg
[sudo] password for bburdette:
Installing package...
installing ‘faust-2.0-a41’
download-from-binary-cache.pl: NAR info file ‘http://hydra.nixos.org/bz3qqy0zr18n3gpyvavb40a5567x1ll4.narinfo’ is signed by unknown key ‘hydra.nixos.org-1’; ignoring
don't know how to build these paths:
/nix/store/bz3qqy0zr18n3gpyvavb40a5567x1ll4-faust-2.0-a41
download-from-binary-cache.pl: NAR info file ‘http://hydra.nixos.org/bz3qqy0zr18n3gpyvavb40a5567x1ll4.narinfo’ is signed by unknown key ‘hydra.nixos.org-1’; ignoring
error: path ‘/nix/store/bz3qqy0zr18n3gpyvavb40a5567x1ll4-faust-2.0-a41’ does not exist and cannot be created
Installation failed: nix-env failed: 256
[bburdette@nixosthe1:~/code/faustthings]$
The other build product is installing a clojure. I downloaded the file, and it directs me to call this command:
gunzip < faust-2.0-a41.closure.gz | nix-store --import
The result is this:
[bburdette@nixosthe1:~/code/faustthings]$ sudo gunzip < faust-2.0-a41.closure.gz | nix-store --import
error: input doesn't look like something created by ‘nix-store --export’
[bburdette@nixosthe1:~/code/faustthings]$
Metadata
Metadata
Assignees
Labels
No labels
Activity
bburdette commentedon Feb 4, 2016
Ok turns out that in configuration.nix one should either do this:
nix.requireSignedBinaryCaches = false;Or this:
It took a while for this noob to track that down, but found the key thanks to people on IRC. Seems like this should be documented in the popup help along with the actual command to to the install.
[-]help command suggestions don't work[/-][+]nix-install-package help command suggestions don't work[/+]