Skip to content

Commit

Permalink
refactor: No more devenv shells
Browse files Browse the repository at this point in the history
waiting for NixOS/nix#6530

Signed-off-by: saygo-png <saygo.mail@proton.me>
  • Loading branch information
saygo-png committed Nov 7, 2024
1 parent d268c8c commit 563ecbb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 193 deletions.
26 changes: 0 additions & 26 deletions .commitlintrc.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions .envrc

This file was deleted.

9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
.devenv
.direnv
.pre-commit-config.yaml
# Devenv
.devenv*
devenv.local.nix

# direnv
.direnv

# pre-commit
.pre-commit-config.yaml
24 changes: 0 additions & 24 deletions ci/default.nix

This file was deleted.

14 changes: 0 additions & 14 deletions ci/pinned-nixpkgs-for-nixshell.json

This file was deleted.

54 changes: 0 additions & 54 deletions ci/update-shell-lock.sh

This file was deleted.

41 changes: 0 additions & 41 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,46 +91,5 @@
./hosts/thinkpad/hardware-configuration-thinkpad.nix
];
};

devShells = inputs.nixpkgs.lib.genAttrs ["x86_64-linux"] (system: {
default = import ./shell.nix {inherit system;};
# let
# pkgs = inputs.nixpkgs.legacyPackages.${system};
# in
# inputs.devenv.lib.mkShell {
# inherit inputs pkgs;
# modules = [
# (_: {
# # packages = [
# # pkgs.cargo
# # ];
#
# languages = {
# nix.enable = true;
# shell.enable = true;
# };
#
# pre-commit.hooks = {
# commitlint-rs = {
# enable = true;
# entry = "commitlint --edit";
# language = "rust";
# package = pkgs-unstable.commitlint-rs;
# pass_filenames = false;
# fail_fast = true;
# stages = ["commit-msg"];
# extraPackages = [pkgs.cargo];
# };
# deadnix.enable = true;
# shellcheck.enable = true;
# # statix.enable = true;
# treefmt.settings.formatters = [
# pkgs.alejandra
# ];
# };
# })
# ];
# };
});
};
}
32 changes: 0 additions & 32 deletions shell.nix

This file was deleted.

0 comments on commit 563ecbb

Please sign in to comment.