Skip to content

Instantly share code, notes, and snippets.

@tfc
Created August 3, 2020 16:58
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 tfc/2921f1041a8a3a26af758c5ad6fed292 to your computer and use it in GitHub Desktop.
Save tfc/2921f1041a8a3a26af758c5ad6fed292 to your computer and use it in GitHub Desktop.
nix-repl> :b pkgs.runCommandNoCC "foo" {} "touch $out"
[1 built, 0.0 MiB DL]
this derivation produced the following outputs:
out -> /nix/store/dyw8bl14y7rdp25qx2m7j4bk5rs3lrx0-foo
nix-repl> :b pkgs.runCommandNoCC "foo" { __structuredAttrs = true; } "touch $out"
builder for '/nix/store/hrzdfvwadb4hjazj2l1mlxkwzfis7ajv-foo.drv' failed with exit code 1; last 1 log lines:
/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh: line 1: /setup: No such file or directory
[0 built (1 failed)]
error: build of '/nix/store/hrzdfvwadb4hjazj2l1mlxkwzfis7ajv-foo.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment