diff --git a/shell.nix b/shell.nix index 21517ed..26173a7 100644 --- a/shell.nix +++ b/shell.nix @@ -1,25 +1,11 @@ { pkgs ? import { } }: -let - nix-refactor = pkgs.writeShellScriptBin "nix-refactor" '' - origin=$(${pkgs.coreutils-full}/bin/readlink /run/current-system) - result=$(${pkgs.lib.getExe pkgs.nixos-rebuild} build && ${pkgs.coreutils-full}/bin/readlink result) - ${pkgs.diffutils}/bin/diff -q <(echo "$origin" ) <(echo "$result") - rm ./result - ''; -in pkgs.mkShell { name = "nixosbuildshell"; nativeBuildInputs = with pkgs; [ git nixFlakes - nix-refactor python3 - python310Packages.autopep8 - python310Packages.black - python310Packages.flake8 - python310Packages.jedi - python310Packages.pip - python310Packages.yapf + python310Packages.pylint vim ];