summaryrefslogtreecommitdiffstats
path: root/lass/4lib
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-11-13 00:59:07 +0100
committerlassulus <lass@aidsballs.de>2015-11-13 00:59:07 +0100
commitb6491e3b43e6d9bc4d76ce2845645b001b9d23c1 (patch)
tree49a7c471ec68fc3c133a71b699f507f824df6505 /lass/4lib
parent0580070f86ea64fd5e21ae1a212f25a3caf8b3e7 (diff)
l 4: remove simpleScript
Diffstat (limited to 'lass/4lib')
-rw-r--r--lass/4lib/default.nix12
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"]);