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 ddae600
Showing 1 changed file with 16 additions and 0 deletions.
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 bash;
extraNativeBuildInputs = [ ];
};
};
};
}

0 comments on commit ddae600

Please sign in to comment.