docker-nixpkgs/shell.nix
Sefa Eyeoglu 16594d72d5
Bump shell.nix channel to 23.11
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-03-07 19:14:41 +01:00

19 lines
363 B
Nix

let
nixpkgs = builtins.fetchTarball "channel:nixos-23.11";
pkgs = import nixpkgs { config = { }; overlays = [ ]; };
in
with pkgs;
mkShell {
buildInputs = [
dive
jq
skopeo
] ++ lib.optional (pkgs ? mdsh) pkgs.mdsh;
shellHook = ''
# try to work aroud build issues
unset TMPDIR
export NIX_PATH=nixpkgs=${toString nixpkgs}
'';
}