watchexec: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -22,7 +22,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AppKit";
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
NIX_LDFLAGS = toString [
|
||||
"-framework"
|
||||
"AppKit"
|
||||
];
|
||||
};
|
||||
|
||||
checkFlags = [
|
||||
"--skip=help"
|
||||
|
||||
Reference in New Issue
Block a user