diff --git a/shell.nix b/shell.nix index 61553b4..6ea162e 100644 --- a/shell.nix +++ b/shell.nix @@ -3,22 +3,22 @@ pkgs ? import sources.nixpkgs { }, }: let - addUser = pkgs.writeShellApplication rec { - name = "adduser"; + addUser = pkgs.writeShellApplication { + name = "addUser"; runtimeInputs = [ pkgs.openfga-cli pkgs.ripgrep ]; - text = builtins.readFile ./scripts/${name}.sh; + text = builtins.readFile ./scripts/adduser.sh; }; - delUser = pkgs.writeShellApplication rec { - name = "deluser"; + delUser = pkgs.writeShellApplication { + name = "delUser"; runtimeInputs = [ pkgs.openfga-cli pkgs.ripgrep pkgs.sedutil ]; - text = builtins.readFile ./scripts/${name}.sh; + text = builtins.readFile ./scripts/deluser.sh; }; in pkgs.mkShellNoCC {