forked from rarias/bscpkgs
Trace addition to nix-support/private
This commit is contained in:
parent
2864857393
commit
b7ea574cda
@ -23,12 +23,13 @@ let
|
|||||||
if args ? meta && args.meta ? license then builtins.any checkLicense licenses else false;
|
if args ? meta && args.meta ? license then builtins.any checkLicense licenses else false;
|
||||||
in
|
in
|
||||||
if hasUnfreeLicense then
|
if hasUnfreeLicense then
|
||||||
|
builtins.traceVerbose "adding nix-support/private to ${originalDrv.name or originalDrv.pname}" (
|
||||||
originalDrv.overrideAttrs (old: {
|
originalDrv.overrideAttrs (old: {
|
||||||
postInstall = (old.postInstall or "") + ''
|
postInstall = (old.postInstall or "") + ''
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
touch $out/nix-support/private
|
touch $out/nix-support/private
|
||||||
'';
|
'';
|
||||||
})
|
}))
|
||||||
else
|
else
|
||||||
originalDrv;
|
originalDrv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user