diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-01 09:09:23 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-12-01 09:09:23 +0200 |
commit | 1fb40a5b920fa856fe4b9ad85b7da74d75b9f769 (patch) | |
tree | a3296c6c13f6d3cb927ad8144cee1d268206a08e | |
parent | 9c3feb3773ac9af09db3815b6410ce565f9cf70c (diff) | |
download | guix-1fb40a5b920fa856fe4b9ad85b7da74d75b9f769.tar.gz guix-1fb40a5b920fa856fe4b9ad85b7da74d75b9f769.zip |
gnu: xrdp: Only build with nasm on necessary platforms.
* gnu/packages/rdesktop.scm (xrdp)[native-inputs]: Only include nasm on
platforms which need it.
Change-Id: I9f390af3c12752bc0c3696910170bc994b8a5fd6
-rw-r--r-- | gnu/packages/rdesktop.scm | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm index 23a950dad3..d5d49edc20 100644 --- a/gnu/packages/rdesktop.scm +++ b/gnu/packages/rdesktop.scm @@ -195,14 +195,18 @@ of parts of the Windows API.") pixman python python-libxml2)) - (native-inputs (list bison - cmocka - flex - gettext-minimal - intltool - nasm - pkg-config - pixman)) + (native-inputs + (append + (list bison + cmocka + flex + gettext-minimal + intltool) + (if (target-x86?) + (list nasm) + '()) + (list pkg-config + pixman))) (arguments (list #:configure-flags #~(list "--enable-strict-locations=yes" "--enable-fuse=yes" |