aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-21 18:13:34 +0900
committerOphestra <cat@gensokyo.uk>2025-02-21 18:13:34 +0900
commiteb0c16dd8cd4d353e34e73453190cb41bd4aebb3 (patch)
treeb4b82aa63084c61ffbeb00f7835a50e22b272ef4
parent4fa1e97026006a9b5d4e98de302256c7ae7cbad7 (diff)
cmd/fpkg: rename buildPackage file
Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--cmd/fpkg/build.nix (renamed from bundle.nix)3
-rw-r--r--flake.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/bundle.nix b/cmd/fpkg/build.nix
index aa798908..dd9b30c2 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 e306bcf4..c87f0049 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