default.nix (i'm guessing):
derivation { name = "simple"; builder = "${bash}/bin/bash"; args = [ ./simple_builder.sh ]; inherit gcc coreutils; src = ./simple.c; system = builtins.currentSystem; }
nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
default.nix:
with (import <nixpkgs> {}); derivation { name = "simple"; builder = "${bash}/bin/bash"; args = [ ./simple_builder.sh ]; inherit gcc coreutils; src = ./simple.c; system = builtins.currentSystem; }
nix build
0: https://nixos.org/guides/nix-pills/working-derivation.html#i...
default.nix (i'm guessing):
Command: Rather than something like this[0]:default.nix:
Which can be built with: We should fix the docs that led your version rather than the second.0: https://nixos.org/guides/nix-pills/working-derivation.html#i...