diff options
author | makefu <github@syntax-fehler.de> | 2017-04-19 10:02:57 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-04-19 10:02:57 +0200 |
commit | 0ea25143c940e6fb8bac02a893cfc73f5b5c7cb5 (patch) | |
tree | b3e962ee6b19c1c9ec975fbcc5d02e180f90f7b8 /lass/1systems | |
parent | fdefa2b20cfa2037fc866ac68fb53b668bb60a17 (diff) | |
parent | d40738d41573eca83d7e84f8a9946f8d8441a0d0 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/iso.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lass/1systems/iso.nix b/lass/1systems/iso.nix index 01d698c4c..99399550c 100644 --- a/lass/1systems/iso.nix +++ b/lass/1systems/iso.nix @@ -12,6 +12,30 @@ with import <stockholm/lib>; ../2configs/nixpkgs.nix ../2configs/vim.nix { + # /dev/stderr doesn't work. I don't know why + # /proc/self doesn't seem to work correctly + # /dev/pts is empty except for 1 file + # my life sucks + nixpkgs.config.packageOverrides = super: { + irc-announce = super.callPackage <stockholm/krebs/5pkgs/irc-announce> { + pkgs = pkgs // { coreutils = pkgs.concat "coreutils-hack" [ + pkgs.coreutils + (pkgs.writeDashBin "tee" '' + if test "$1" = /dev/stderr; then + while read -r line; do + echo "$line" + echo "$line" >&2 + done + else + ${super.coreutils}/bin/tee "$@" + fi + '') + ];}; + }; + }; + boot.kernelParams = [ "copytoram" ]; + } + { krebs.enable = true; krebs.build.user = config.krebs.users.lass; krebs.build.host = config.krebs.hosts.iso; |