
* 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.
16 lines
303 B
Nix
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
|
|
'';
|
|
}
|