mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
libapparmor: fix static
The Python bindings were recently enabled when cross compiling, but it
still doesn't make sense to build them (a shared library) in
pkgsStatic.
Fixes: eba90bba66 ("apparmor: 4.0.3 -> 4.1.0, rewrite")
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
withPerl ?
|
||||
stdenv.hostPlatform == stdenv.buildPlatform && lib.meta.availableOn stdenv.hostPlatform perl,
|
||||
perl,
|
||||
withPython ? lib.meta.availableOn stdenv.hostPlatform python3Packages.python,
|
||||
withPython ?
|
||||
!stdenv.hostPlatform.isStatic && lib.meta.availableOn stdenv.hostPlatform python3Packages.python,
|
||||
python3Packages,
|
||||
swig,
|
||||
ncurses,
|
||||
|
||||
Reference in New Issue
Block a user