diff --git a/bundle.nix b/cmd/fpkg/build.nix similarity index 98% rename from bundle.nix rename to cmd/fpkg/build.nix index aa79890..dd9b30c 100644 --- a/bundle.nix +++ b/cmd/fpkg/build.nix @@ -8,6 +8,7 @@ { lib, writeScript, + writeScriptBin, runtimeShell, writeText, symlinkJoin, @@ -177,7 +178,7 @@ let }; in -writeScript "fortify-${pname}-bundle-prelude" '' +writeScriptBin "build-fpkg-${pname}" '' #!${runtimeShell} -el OUT="$(mktemp -d)" TAR="$(mktemp -u)" diff --git a/flake.nix b/flake.nix index e306bcf..c87f004 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ buildPackage = forAllSystems ( system: nixpkgsFor.${system}.callPackage ( - import ./bundle.nix { + import ./cmd/fpkg/build.nix { inherit nixpkgsFor system