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> { } }:
|
{ 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 {
|
pkgs.mkShell {
|
||||||
name = "nixosbuildshell";
|
name = "nixosbuildshell";
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
git
|
git
|
||||||
nixFlakes
|
nixFlakes
|
||||||
nix-refactor
|
|
||||||
python3
|
python3
|
||||||
python310Packages.autopep8
|
python310Packages.pylint
|
||||||
python310Packages.black
|
|
||||||
python310Packages.flake8
|
|
||||||
python310Packages.jedi
|
|
||||||
python310Packages.pip
|
|
||||||
python310Packages.yapf
|
|
||||||
vim
|
vim
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue