Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created August 27, 2020 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/3c61529b992bfcb0e10e048de4b15c6f to your computer and use it in GitHub Desktop.
Save LnL7/3c61529b992bfcb0e10e048de4b15c6f to your computer and use it in GitHub Desktop.
$ nix-build foo.nix
this derivation will be built:
/nix/store/2phy8lcgdjama9wckm5cap8yhw0nd7sf-foo.drv
building '/nix/store/2phy8lcgdjama9wckm5cap8yhw0nd7sf-foo.drv'...
Darwin
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-build
error: --- Error --- nix-daemon
builder for '/nix/store/2phy8lcgdjama9wckm5cap8yhw0nd7sf-foo.drv' failed to produce output path '/nix/store/frx80s4dsgrgszdi9gsvqqn8r8ff8gw8-foo'
$ nix-build foo.nix --option system x86_64-linux --store ssh-ng://host
this derivation will be built:
/nix/store/nh59miq41zrwgbdp0q8wc97lvqrz78pl-foo.drv
cannot build on 'localhost': don't know how to open Nix store 'localhost'
building '/nix/store/nh59miq41zrwgbdp0q8wc97lvqrz78pl-foo.drv'...
Linux
Linux
builder for '/nix/store/nh59miq41zrwgbdp0q8wc97lvqrz78pl-foo.drv' failed to produce output path '/nix/store/2h7cy09rmfjdm11s70bxbkz46d3rrwxw-foo'
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-build
build of '/nix/store/nh59miq41zrwgbdp0q8wc97lvqrz78pl-foo.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment