-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,6 @@ in stdenv.mkDerivation rec { | |
--replace "/bin/umount" "$out/bin/umount" | ||
''; | ||
|
||
preConfigure = lib.optionalString (systemd != null) '' | ||
configureFlags+=" --with-systemd --with-systemdsystemunitdir=$bin/lib/systemd/system/" | ||
''; | ||
|
||
# !!! It would be better to obtain the path to the mount helpers | ||
# (/sbin/mount.*) through an environment variable, but that's | ||
# somewhat risky because we have to consider that mount can setuid | ||
|
@@ -43,8 +39,11 @@ in stdenv.mkDerivation rec { | |
"--disable-use-tty-group" | ||
"--enable-fs-paths-default=/run/wrappers/bin:/var/run/current-system/sw/bin:/sbin" | ||
"--disable-makeinstall-setuid" "--disable-makeinstall-chown" | ||
] ++ lib.optional (ncurses == null) "--without-ncurses" | ||
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) | ||
(lib.withFeature (ncurses != null) "ncurses") | ||
(lib.withFeature (systemd != null) "systemd") | ||
(lib.withFeatureAs (systemd != null) | ||
"systemdsystemunitdir" "$bin/lib/systemd/system/") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
vcunat
Member
|
||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) | ||
"scanf_cv_type_modifier=ms" | ||
; | ||
|
||
|
3 comments
on commit f83b5e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional passing of --with-ncurses
broke the build (on staging-next
now). Reverting this commit would "fix" that, but it's possible it just exposed another problem. Log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by #44719. Thanks @symphorien for noticing that; I should have searched the tickets before commenting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks and sorry
This doesn't shell-expand
$bin
.