Trace addition to nix-support/private
This commit is contained in:
		
							parent
							
								
									4ae7ad31a3
								
							
						
					
					
						commit
						19e865c6ec
					
				| @ -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; | ||||
|     }; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user