diff options
author | lassulus <lass@aidsballs.de> | 2015-11-13 00:59:07 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-11-13 00:59:07 +0100 |
commit | b6491e3b43e6d9bc4d76ce2845645b001b9d23c1 (patch) | |
tree | 49a7c471ec68fc3c133a71b699f507f824df6505 /lass | |
parent | 0580070f86ea64fd5e21ae1a212f25a3caf8b3e7 (diff) |
l 4: remove simpleScript
Diffstat (limited to 'lass')
-rw-r--r-- | lass/4lib/default.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lass/4lib/default.nix b/lass/4lib/default.nix index 6a8a28972..a751a2995 100644 --- a/lass/4lib/default.nix +++ b/lass/4lib/default.nix @@ -1,19 +1,9 @@ -{ lib, pkgs, ... }: +{ lib, ... }: with lib; { - simpleScript = name: content: - pkgs.stdenv.mkDerivation { - inherit name; - phases = [ "installPhase" ]; - installPhase = '' - mkdir -p $out/bin - ln -s ${pkgs.writeScript name content} $out/bin/${name} - ''; - }; - getDefaultGateway = ip: concatStringsSep "." (take 3 (splitString "." ip) ++ ["1"]); |