summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/writers.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-29 14:10:23 +0200
committerlassulus <lassulus@lassul.us>2018-03-29 14:10:23 +0200
commit1710530cae5189cdc779212084ea3091fefc275b (patch)
treee607e6e75da9117210699f752fd58848775f8e3b /krebs/5pkgs/writers.nix
parent1589a668023312ad6d0a24abb4caefe76ea95bac (diff)
writers writeC: 17.09 workaround
Diffstat (limited to 'krebs/5pkgs/writers.nix')
-rw-r--r--krebs/5pkgs/writers.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/5pkgs/writers.nix b/krebs/5pkgs/writers.nix
index 23773e17f..1939bf854 100644
--- a/krebs/5pkgs/writers.nix
+++ b/krebs/5pkgs/writers.nix
@@ -57,7 +57,8 @@ with import <stockholm/lib>;
passAsFile = [ "text" ];
} /* sh */ ''
PATH=${makeBinPath (with pkgs; [
- binutils-unwrapped
+ # TODO remove if everyone migrated to 18.03
+ (if hasAttr "binutils-unwrapped" pkgs then binutils-unwrapped else binutils)
coreutils
gcc
])}