about summary refs log tree commit diff
path: root/nix/buildBazelPackageNG/buildBazelPackageNG.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/buildBazelPackageNG/buildBazelPackageNG.nix')
-rw-r--r--nix/buildBazelPackageNG/buildBazelPackageNG.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/nix/buildBazelPackageNG/buildBazelPackageNG.nix b/nix/buildBazelPackageNG/buildBazelPackageNG.nix
index 5195d3e89fa8..39c67adea797 100644
--- a/nix/buildBazelPackageNG/buildBazelPackageNG.nix
+++ b/nix/buildBazelPackageNG/buildBazelPackageNG.nix
@@ -16,12 +16,16 @@
 
 let
   cleanAttrs = lib.flip removeAttrs [
-    "bazelTargets" "depsHash" "extraCacheInstall" "extraBuildSetup" "extraBuildInstall"
+    "bazelTargets"
+    "depsHash"
+    "extraCacheInstall"
+    "extraBuildSetup"
+    "extraBuildInstall"
   ];
   attrs = cleanAttrs baseAttrs;
 
   base = stdenv.mkDerivation (attrs // {
-    nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ [
+    nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ [
       bazel
     ];
 
@@ -69,7 +73,7 @@ let
 
     inherit cache;
 
-    nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
+    nativeBuildInputs = (base.nativeBuildInputs or [ ]) ++ [
       coreutils
     ];
 
@@ -102,4 +106,5 @@ let
       runHook postInstall
     '';
   });
-in build
+in
+build