about summary refs log tree commit diff
path: root/tools/nixery/build-image/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-03T21·16+0100
committerVincent Ambo <github@tazj.in>2019-10-03T21·29+0100
commit0d820423e973727ddfc4b461a1063f719873743c (patch)
tree94edf81162325e5039e06eff0c84ccce3dcc0988 /tools/nixery/build-image/default.nix
parent6b06fe27be2dcf0741ff7981838fbb3a022181b7 (diff)
chore(build-image): Remove nixery-build-layers
This functionality has been rolled into the server component and is no
longer required.
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}
+''