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