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