diff --git a/index.html b/index.html index c31f6f3..66d538b 100644 --- a/index.html +++ b/index.html @@ -4947,7 +4947,7 @@ cowsay "He { packages = rec { hello = pkgs.stdenv.mkDerivation rec { - name = "hello-flake"; + name = "hello-with-cow"; src = ./.; @@ -4958,8 +4958,8 @@ cowsay "He installPhase = '' mkdir -p $out/bin - cp $src/hello-flake $out/bin/hello-flake - chmod +x $out/bin/hello-flake + cp $src/hello-with-cow $out/bin + chmod +x $out/bin/hello-with-cow ''; }; default = hello; @@ -4982,20 +4982,9 @@ cowsay "He
$ nix run
 this derivation will be built:
-  /nix/store/k2w6258690zjhdf6y59vfpfiz7d67jb1-hello-flake.drv
-building '/nix/store/k2w6258690zjhdf6y59vfpfiz7d67jb1-hello-flake.drv'...
-error: builder for '/nix/store/k2w6258690zjhdf6y59vfpfiz7d67jb1-hello-flake.drv' failed with exit code 1;
-       last 8 log lines:
-       > Running phase: unpackPhase
-       > Running phase: patchPhase
-       > Running phase: updateAutotoolsGnuConfigScriptsPhase
-       > Running phase: configurePhase
-       > no configure script, doing nothing
-       > Running phase: buildPhase
-       > Running phase: installPhase
-       > cp: cannot stat '/nix/store/mhmgp4r3vihp0ar76ik7ah5q9djzhrdf-tempwork/hello-flake': No such file or directory
-       For full logs, run:
-         nix log /nix/store/k2w6258690zjhdf6y59vfpfiz7d67jb1-hello-flake.drv
+ /nix/store/bqk0dmm8ggj8q8d056q9bw9fdw5zw8l9-hello-with-cow.drv +building '/nix/store/bqk0dmm8ggj8q8d056q9bw9fdw5zw8l9-hello-with-cow.drv'... +/nix/store/xhv9yjsil2wsrnpbx07dlw3yb7hbr7fq-hello-with-cow/bin/hello-with-cow: line 3: cowsay: command not found
@@ -5235,7 +5224,7 @@ Hello from your flake!
diff --git a/source/recipes/build/nixpkg/tempwork/flake.nix b/source/recipes/build/nixpkg/tempwork/flake.nix index 63fbedd..a7cdcc9 100644 --- a/source/recipes/build/nixpkg/tempwork/flake.nix +++ b/source/recipes/build/nixpkg/tempwork/flake.nix @@ -26,6 +26,8 @@ cp $src/hello-with-cow $out/bin chmod +x $out/bin/hello-with-cow ''; + + buildInputs = [ pkgs.cowsay ]; }; default = hello; };