concat: RIP

This commit is contained in:
tv 2017-06-20 19:30:14 +02:00
parent 803ccdb2f6
commit cc1ae23f26

View file

@ -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
'')
];};
];
};
};
};
};
}