bant: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -33,7 +33,10 @@ buildBazelPackage rec {
|
||||
"--registry"
|
||||
"file://${registry}"
|
||||
];
|
||||
LIBTOOL = lib.optionalString stdenv.hostPlatform.isDarwin "${cctools}/bin/libtool";
|
||||
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
LIBTOOL = "${cctools}/bin/libtool";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs scripts/create-workspace-status.sh
|
||||
|
||||
Reference in New Issue
Block a user