diff options
author | Artturin <Artturin@artturin.com> | 2023-10-05 06:34:10 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-10-05 06:40:16 +0300 |
commit | 912c60564334a81af7cfd4a38f9eed44d7770fa9 (patch) | |
tree | fccc8738136ca14738790b2f48c2db22441ca509 /pkgs/development/libraries/mesa | |
parent | 7131f3c223a2d799568e4b278380cd9dac2b8579 (diff) |
mesa: don't depend on build python
`mesa-overlay-control.py` has build python in it's shebang `pkgsCross.aarch64-multiplatform.sway`
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r-- | pkgs/development/libraries/mesa/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index b7bec7e8930c4..00471b52364ab 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -223,6 +223,7 @@ self = stdenv.mkDerivation { libffi libvdpau libelf libXvMC libpthreadstubs openssl /*or another sha1 provider*/ zstd libunwind + python3Packages.python # for shebang ] ++ lib.optionals haveWayland [ wayland wayland-protocols ] ++ lib.optionals stdenv.isLinux [ libomxil-bellagio libva-minimal udev lm_sensors ] ++ lib.optionals enableOpenCL [ libclc llvmPackages.clang llvmPackages.clang-unwrapped rustc rust-bindgen' spirv-llvm-translator' ] @@ -320,6 +321,9 @@ self = stdenv.mkDerivation { fi done + # Don't depend on build python + patchShebangs --host --update $out/bin/* + # NAR doesn't support hard links, so convert them to symlinks to save space. jdupes --hard-links --link-soft --recurse "$drivers" |