diff --git a/flake.nix b/flake.nix index a889253..2916d7f 100644 --- a/flake.nix +++ b/flake.nix @@ -66,6 +66,12 @@ # artifacts from above. newalan = craneLib.buildPackage (commonArgs // { inherit cargoArtifacts; + runCommandHook = { + newalan = pkgs.writeScript "New Alan CD" '' + echo HIIIII $(date) >> ~/TEST_SCRIPT + echo Wheee + ''; + }; }); in { @@ -106,13 +112,6 @@ partitions = 1; partitionType = "count"; }); - - runCommandHook = { - newalan = pkgs.writeScript "New Alan CD" '' - echo HIIIII $(date) >> ~/TEST_SCRIPT - echo Wheee - ''; - }; } // lib.optionalAttrs (system == "x86_64-linux") { # NB: cargo-tarpaulin only supports x86_64 systems # Check code coverage (note: this will not upload coverage anywhere)