diff --git a/flake.nix b/flake.nix index 5a1a973..bbcaf8b 100644 --- a/flake.nix +++ b/flake.nix @@ -106,23 +106,13 @@ partitions = 1; partitionType = "count"; }); - - newalan-docker = let - image = pkgs.dockerTools.buildImage { - name = "newalan"; - tag = "latest"; - - copyToRoot = pkgs.buildEnv { - name = "New Alan Root FS"; - paths = [ newalan ]; - pathsToLink = [ "/bin" ]; - }; - }; - in pkgs.runCommandCC "New Alan Docker Release" {} '' - mkdir -p $out/{nix-support,share} - cp ${image} $out/share/newalan_image.tar.gz - echo "binary-dist container $out/share/newalan_image.tar.gz" >> $out/nix-support/hydra-build-products - ''; + runCommandHook = { + recurseForDerivations = true; + newalan = pkgs.writeScript "New Alan CD" '' + echo HIIIII + echo Whee + ''; + }; } // lib.optionalAttrs (system == "x86_64-linux") { # NB: cargo-tarpaulin only supports x86_64 systems # Check code coverage (note: this will not upload coverage anywhere)