concat: RIP
This commit is contained in:
parent
803ccdb2f6
commit
cc1ae23f26
|
@ -32,7 +32,10 @@ with import <stockholm/lib>;
|
||||||
# hack `tee` behavior
|
# hack `tee` behavior
|
||||||
nixpkgs.config.packageOverrides = super: {
|
nixpkgs.config.packageOverrides = super: {
|
||||||
irc-announce = super.callPackage <stockholm/krebs/5pkgs/simple/irc-announce> {
|
irc-announce = super.callPackage <stockholm/krebs/5pkgs/simple/irc-announce> {
|
||||||
pkgs = pkgs // { coreutils = pkgs.concat "coreutils-hack" [
|
pkgs = pkgs // {
|
||||||
|
coreutils = pkgs.symlinkJoin {
|
||||||
|
name = "coreutils-hack";
|
||||||
|
paths = [
|
||||||
pkgs.coreutils
|
pkgs.coreutils
|
||||||
(pkgs.writeDashBin "tee" ''
|
(pkgs.writeDashBin "tee" ''
|
||||||
if test "$1" = /dev/stderr; then
|
if test "$1" = /dev/stderr; then
|
||||||
|
@ -44,7 +47,9 @@ with import <stockholm/lib>;
|
||||||
${super.coreutils}/bin/tee "$@"
|
${super.coreutils}/bin/tee "$@"
|
||||||
fi
|
fi
|
||||||
'')
|
'')
|
||||||
];};
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue