commit
87e44b0357
@ -11,15 +11,18 @@ assertExecutable() {
|
|||||||
# makeWrapper EXECUTABLE ARGS
|
# makeWrapper EXECUTABLE ARGS
|
||||||
|
|
||||||
# ARGS:
|
# ARGS:
|
||||||
# --argv0 NAME : set name of executed process to NAME
|
# --argv0 NAME : set name of executed process to NAME
|
||||||
# (otherwise it’s called …-wrapped)
|
# (otherwise it’s called …-wrapped)
|
||||||
# --set VAR VAL : add VAR with value VAL to the executable’s environment
|
# --set VAR VAL : add VAR with value VAL to the executable’s
|
||||||
# --unset VAR : remove VAR from the environment
|
# environment
|
||||||
# --run COMMAND : run command before the executable
|
# --set-default VAR VAL : like --set, but only adds VAR if not already set in
|
||||||
# The command can push extra flags to a magic list variable
|
# the environment
|
||||||
# extraFlagsArray, which are then added to the invocation
|
# --unset VAR : remove VAR from the environment
|
||||||
# of the executable
|
# --run COMMAND : run command before the executable
|
||||||
# --add-flags FLAGS : add FLAGS to invocation of executable
|
# The command can push extra flags to a magic list
|
||||||
|
# variable extraFlagsArray, which are then added to
|
||||||
|
# the invocation of the executable
|
||||||
|
# --add-flags FLAGS : add FLAGS to invocation of executable
|
||||||
|
|
||||||
# --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP
|
# --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP
|
||||||
# --suffix
|
# --suffix
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
buildInputs = stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optional (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV) "--enable-mpers=check";
|
configureFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "--enable-mpers=check";
|
||||||
|
|
||||||
# fails 1 out of 523 tests with
|
# fails 1 out of 523 tests with
|
||||||
# "strace-k.test: failed test: ../../strace -e getpid -k ../stack-fcall output mismatch"
|
# "strace-k.test: failed test: ../../strace -e getpid -k ../stack-fcall output mismatch"
|
||||||
|
@ -32,14 +32,14 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "busybox-1.29.1";
|
name = "busybox-1.29.2";
|
||||||
|
|
||||||
# Note to whoever is updating busybox: please verify that:
|
# Note to whoever is updating busybox: please verify that:
|
||||||
# nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test
|
# nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test
|
||||||
# still builds after the update.
|
# still builds after the update.
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://busybox.net/downloads/${name}.tar.bz2";
|
url = "https://busybox.net/downloads/${name}.tar.bz2";
|
||||||
sha256 = "1hqlr5b3bsyb6avadz1z4za6pyl32r1krnpcpwwqilhnx8q0f9gw";
|
sha256 = "0qax9926qx9lpxiw75f4hkknz1pg0zcn5pkjx5gqfibs2ipgmlk7";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optionals enableStatic [ "fortify" ];
|
hardeningDisable = [ "format" ] ++ lib.optionals enableStatic [ "fortify" ];
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sudo-1.8.23";
|
name = "sudo-1.8.24";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls =
|
urls =
|
||||||
[ "ftp://ftp.sudo.ws/pub/sudo/${name}.tar.gz"
|
[ "ftp://ftp.sudo.ws/pub/sudo/${name}.tar.gz"
|
||||||
"ftp://ftp.sudo.ws/pub/sudo/OLD/${name}.tar.gz"
|
"ftp://ftp.sudo.ws/pub/sudo/OLD/${name}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "0yg62wq8rcrbr7qvh3wgfg2g4bwanbi50cr2lf2cfyy8dydx4qyq";
|
sha256 = "1s2v49n905wf3phmdnaa6v1dwck2lrcin0flg85z7klf35x5b25l";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -95,12 +95,13 @@ core = stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = common.configureFlags
|
configureFlags = common.configureFlags
|
||||||
++ [ "--without-x" ] # disable xdvik and xpdfopen
|
++ [ "--without-x" ] # disable xdvik and xpdfopen
|
||||||
++ map (what: "--disable-${what}") [
|
++ map (what: "--disable-${what}") ([
|
||||||
"dvisvgm" "dvipng" # ghostscript dependency
|
"dvisvgm" "dvipng" # ghostscript dependency
|
||||||
"luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more
|
"luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more
|
||||||
"xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small
|
"xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small
|
||||||
]
|
] ++ stdenv.lib.optional (stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) "mfluajit")
|
||||||
++ [ "--without-system-harfbuzz" "--without-system-icu" ] # bogus configure
|
++ [ "--without-system-harfbuzz" "--without-system-icu" ] # bogus configure
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user