Remove unused packges
This commit is contained in:
parent
a374a792ec
commit
cb804313d0
16
shell.nix
16
shell.nix
|
@ -1,25 +1,11 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
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
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue