From 2a7c73e748d330c904ba93b6bb8102bdb862a7c9 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 9 Aug 2016 22:50:23 +0200 Subject: [PATCH] steveej-laptop: add /bin/bash symlink --- configuration/steveej-laptop/system.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration/steveej-laptop/system.nix b/configuration/steveej-laptop/system.nix index d955502..a24bf4c 100644 --- a/configuration/steveej-laptop/system.nix +++ b/configuration/steveej-laptop/system.nix @@ -172,4 +172,10 @@ host.addNetworkInterface = true; }; }; + + system.activationScripts.bin = '' + echo "setting up /bin..." + ln -sfn ${pkgs.bash}/bin/bash /tmp/.binbash + mv /tmp/.binbash /bin/bash + ''; }