docker-nixpkgs/shell.nix
zimbatm 6597ff1349
ci: fix Travis CI builds
* run the ./build after setting the NIX_PATH. Previously the images
  were always generate with the system channel. Oops!
* pin the outer shell version to nixos-19.09. skopeo broke in unstable.
  also we don't need to force the system here, technically this could
  run on macOS.
2020-02-09 16:23:27 +01:00

16 lines
303 B
Nix

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