mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
fakedir: move CFLAGS into env for structuredAttrs
This commit is contained in:
@@ -16,7 +16,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-wPseLfbRffX0Pr4TxJh59cmuY1OEfSDTvM2KrORafKs=";
|
||||
};
|
||||
|
||||
CFLAGS = "-Ofast -DSTRIP_DEBUG";
|
||||
env.CFLAGS = toString [
|
||||
"-Ofast"
|
||||
"-DSTRIP_DEBUG"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 libfakedir.dylib $out/lib/libfakedir.dylib
|
||||
|
||||
Reference in New Issue
Block a user