Archived
1
0
forked from rarias/bscpkgs

WIP: Add package metadata #2

Draft
abonerib wants to merge 481 commits from add-meta into CIstrictDeps
Showing only changes of commit b7ea574cda - Show all commits

View File

@ -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;
};