mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 06:21:30 +03:00
11 lines
240 B
Nix
11 lines
240 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
mkDerivation.postFixup =
|
|
# prevents conflicts in nixpkgs buildEnv for python
|
|
lib.mkIf (lib.hasSuffix ".whl" config.mkDerivation.src)
|
|
"rm $out/lib/*/site-packages/nvidia/__pycache__/__init__.*";
|
|
}
|