diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
| commit | cfaef26e8718916adcc68fbfb63b15f2389b2cd2 (patch) | |
| tree | 3989af4514d31d0a5cb89e8b96d51210ad7bf152 /shell-scripts.nix | |
| parent | 654ec06ab6a885ea851c4cbf68d06a00b41b0e14 (diff) | |
move all the files
Diffstat (limited to 'shell-scripts.nix')
| -rw-r--r-- | shell-scripts.nix | 29 |
1 files changed, 0 insertions, 29 deletions
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 |
