From cfaef26e8718916adcc68fbfb63b15f2389b2cd2 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 6 Oct 2023 23:10:55 +0200 Subject: move all the files --- shell-scripts.nix | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 shell-scripts.nix (limited to 'shell-scripts.nix') diff --git a/shell-scripts.nix b/shell-scripts.nix deleted file mode 100644 index 3b849e0..0000000 --- a/shell-scripts.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - pkgs, - config, - ... -}: -with builtins; let - script-names = attrNames (readDir ./shell-scripts); - package = ( - filename: - with pkgs; let - in - stdenv.mkDerivation { - name = filename; - - buildCommand = '' - install -Dm755 $script $out/bin/${filename} - ''; - - script = substituteAll { - src = ./shell-scripts/${filename}; - isExecutable = true; - inherit bash; - home = config.home.homeDirectory; - }; - } - ); - packages = map package script-names; -in - packages -- cgit v1.2.3