From cb804313d0da5164c6b9b6cd22f6260b0fdd3970 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 22 Jul 2023 14:27:04 +0200 Subject: [PATCH] Remove unused packges --- shell.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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 ];