From 0d8cee1aac95b26ee26731d3779703e8a5679af9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 22 Jul 2024 07:09:55 -0700 Subject: remove commands from devenv --- nix/flake/devshell.nix | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'nix/flake') diff --git a/nix/flake/devshell.nix b/nix/flake/devshell.nix index 43c92b9..063ce19 100644 --- a/nix/flake/devshell.nix +++ b/nix/flake/devshell.nix @@ -25,50 +25,6 @@ just ]; - - devshell.startup = { - pre-commit.text = config.pre-commit.installationScript; - }; - - commands = [ - { package = config.treefmt.build.wrapper; } - { - name = "environment"; - help = "Print various information from CI"; - category = "CI"; - command = "make build-environment"; - } - { - name = "update"; - help = "Update + Commit the Lock File"; - command = "nix flake update --commit-lock-file"; - category = "nix"; - } - { - name = "build-darwin"; - category = "darwin"; - help = "Build the current darwin configuration"; - command = "darwin-rebuild build --flake .#"; - } - { - name = "switch-darwin"; - category = "darwin"; - help = "Switch to the current darwin configuration"; - command = "darwin-rebuild switch --flake .#"; - } - { - name = "build-commands"; - category = "cmd"; - help = "Build all the commands"; - command = "make build-binaries"; - } - { - name = "clean"; - category = "cmd"; - help = "Delete all the artifacts in bin/"; - command = "make clean"; - } - ]; }; treefmt = { -- cgit 1.4.1