buildCrystalPackage: fix env overrides (#504643)
This commit is contained in:
@@ -108,11 +108,12 @@ stdenv.mkDerivation (
|
||||
++ [ "runHook postConfigure" ]
|
||||
));
|
||||
|
||||
env = args.env or { } // {
|
||||
env = {
|
||||
CRFLAGS = lib.concatStringsSep " " defaultOptions;
|
||||
|
||||
PREFIX = placeholder "out";
|
||||
};
|
||||
}
|
||||
// (args.env or { });
|
||||
|
||||
inherit enableParallelBuilding;
|
||||
strictDeps = true;
|
||||
@@ -205,8 +206,9 @@ stdenv.mkDerivation (
|
||||
done
|
||||
'';
|
||||
|
||||
meta = args.meta or { } // {
|
||||
platforms = args.meta.platforms or crystal.meta.platforms;
|
||||
};
|
||||
meta = {
|
||||
platforms = crystal.meta.platforms;
|
||||
}
|
||||
// (args.meta or { });
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user