flake: drop devshell
This commit is contained in:
parent
0a0d5a1e72
commit
95e9586d4c
3 changed files with 0 additions and 31 deletions
4
.envrc
4
.envrc
|
@ -1,4 +0,0 @@
|
|||
watch_file flake.nix
|
||||
|
||||
use flake
|
||||
|
|
@ -7,12 +7,6 @@
|
|||
in {
|
||||
nixosConfigurations = import ./hosts inputs;
|
||||
|
||||
devShells =
|
||||
lib.mapAttrs (system: pkgs: {
|
||||
default = pkgs.callPackage ./shell.nix {};
|
||||
})
|
||||
pkgsFor;
|
||||
|
||||
formatter = eachSystem (system: pkgsFor.${system}.alejandra);
|
||||
|
||||
packages =
|
||||
|
|
21
shell.nix
21
shell.nix
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
mkShellNoCC,
|
||||
git,
|
||||
writeShellApplication,
|
||||
}:
|
||||
mkShellNoCC {
|
||||
name = "nichts";
|
||||
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
packages = [
|
||||
git # take a guess
|
||||
|
||||
(writeShellApplication {
|
||||
name = "update";
|
||||
text = ''
|
||||
nix flake update && git commit flake.lock -m "flake: bump inputs"
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue