Skip to content

Commit

Permalink
minimalMkShell
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Aug 12, 2023
1 parent d0711c0 commit cd32811
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
./editors.nix
./fonts.nix
./misc.nix
./shells.nix
./stdenvs.nix
./terminal-emulators.nix
./themes.nix
Expand Down
16 changes: 16 additions & 0 deletions overlays/shells.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ lib, ... }:

{
flake.overlays.devshells = _: prev: {
minimalMkShell = prev.mkShellNoCC.override {
stdenv = prev.stdenvNoCC.override {
cc = null;
preHook = "";
allowedRequisites = null;
initialPath = lib.singleton prev.toybox;
shell = lib.getExe prev.bash;
extraNativeBuildInputs = [ ];
};
};
};
}

0 comments on commit cd32811

Please sign in to comment.