Loading pkgs/build-support/build-bazel-package/default.nix +15 −2 Original line number Diff line number Diff line Loading @@ -86,6 +86,8 @@ let targetRunFlags ? [ ], }: lib.optionalString (targets != [ ]) '' concatTo bazelFlagsArray bazelFlags # See footnote called [USER and BAZEL_USE_CPP_ONLY_TOOLCHAIN variables] BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ USER=homeless-shelter \ Loading @@ -99,7 +101,7 @@ let "''${host_copts[@]}" \ "''${linkopts[@]}" \ "''${host_linkopts[@]}" \ $bazelFlags \ "''${bazelFlagsArray[@]}" \ ${lib.strings.concatStringsSep " " additionalFlags} \ ${lib.strings.concatStringsSep " " targets} \ ${ Loading Loading @@ -239,13 +241,24 @@ stdenv.mkDerivation ( ); dontFixup = true; allowedRequisites = [ ]; inherit (lib.fetchers.normalizeHash { hashTypes = [ "sha256" ]; } fetchAttrs) outputHash outputHashAlgo ; } // ( if fFetchAttrs.__structuredAttrs or false then { # With __structuredAttrs = true, the build always fails with “output $out is not allowed to refer to the following paths: $out”. # This appears to be the same issue as in 283bca9648fc1afb01d3e4c3b5919251429da907. outputChecks.out.allowedRequisites = [ "out" ]; } else { allowedRequisites = [ ]; } ) ); nativeBuildInputs = fBuildAttrs.nativeBuildInputs or [ ] ++ [ Loading pkgs/by-name/ba/bant/package.nix +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,9 @@ buildBazelPackage rec { passthru.updateScript = nix-update-script { }; strictDeps = true; __structuredAttrs = true; meta = { description = "Bazel/Build Analysis and Navigation Tool"; homepage = "http://bant.build/"; Loading Loading
pkgs/build-support/build-bazel-package/default.nix +15 −2 Original line number Diff line number Diff line Loading @@ -86,6 +86,8 @@ let targetRunFlags ? [ ], }: lib.optionalString (targets != [ ]) '' concatTo bazelFlagsArray bazelFlags # See footnote called [USER and BAZEL_USE_CPP_ONLY_TOOLCHAIN variables] BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ USER=homeless-shelter \ Loading @@ -99,7 +101,7 @@ let "''${host_copts[@]}" \ "''${linkopts[@]}" \ "''${host_linkopts[@]}" \ $bazelFlags \ "''${bazelFlagsArray[@]}" \ ${lib.strings.concatStringsSep " " additionalFlags} \ ${lib.strings.concatStringsSep " " targets} \ ${ Loading Loading @@ -239,13 +241,24 @@ stdenv.mkDerivation ( ); dontFixup = true; allowedRequisites = [ ]; inherit (lib.fetchers.normalizeHash { hashTypes = [ "sha256" ]; } fetchAttrs) outputHash outputHashAlgo ; } // ( if fFetchAttrs.__structuredAttrs or false then { # With __structuredAttrs = true, the build always fails with “output $out is not allowed to refer to the following paths: $out”. # This appears to be the same issue as in 283bca9648fc1afb01d3e4c3b5919251429da907. outputChecks.out.allowedRequisites = [ "out" ]; } else { allowedRequisites = [ ]; } ) ); nativeBuildInputs = fBuildAttrs.nativeBuildInputs or [ ] ++ [ Loading
pkgs/by-name/ba/bant/package.nix +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,9 @@ buildBazelPackage rec { passthru.updateScript = nix-update-script { }; strictDeps = true; __structuredAttrs = true; meta = { description = "Bazel/Build Analysis and Navigation Tool"; homepage = "http://bant.build/"; Loading