about summary refs log tree commit diff
path: root/tools/nixery/build-image/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery/build-image/default.nix')
-rw-r--r--tools/nixery/build-image/default.nix24
1 files changed, 7 insertions, 17 deletions
diff --git a/tools/nixery/build-image/default.nix b/tools/nixery/build-image/default.nix
index 0800eb95987f..a61ac06bdd92 100644
--- a/tools/nixery/build-image/default.nix
+++ b/tools/nixery/build-image/default.nix
@@ -20,20 +20,10 @@
 
 { pkgs ? import <nixpkgs> {} }:
 
-{
-  build-image = pkgs.writeShellScriptBin "nixery-build-image" ''
-    exec ${pkgs.nix}/bin/nix-build \
-      --show-trace \
-      --no-out-link "$@" \
-      --argstr loadPkgs ${./load-pkgs.nix} \
-      ${./build-image.nix}
-  '';
-
-  build-layers = pkgs.writeShellScriptBin "nixery-build-layers" ''
-    exec ${pkgs.nix}/bin/nix-build \
-      --show-trace \
-      --no-out-link "$@" \
-      --argstr loadPkgs ${./load-pkgs.nix} \
-      ${./build-layers.nix}
-  '';
-}
+pkgs.writeShellScriptBin "nixery-build-image" ''
+  exec ${pkgs.nix}/bin/nix-build \
+    --show-trace \
+    --no-out-link "$@" \
+    --argstr loadPkgs ${./load-pkgs.nix} \
+    ${./build-image.nix}
+''