1 { lib, stdenv, nix, fetchFromGitHub, makeWrapper }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-whHBBcthLhEIy2VTaioRZOSZoZR7pk4Qr4DVxwU0r9Y=";
14 nativeBuildInputs = [ makeWrapper ];
17 wrapProgram $out/bin/nixos-shell \
18 --prefix PATH : ${lib.makeBinPath [ nix ]}
21 installFlags = [ "PREFIX=${placeholder "out"}" ];
24 description = "Spawns lightweight nixos vms in a shell";
25 inherit (src.meta) homepage;
26 license = licenses.mit;
27 maintainers = with maintainers; [ mic92 ];
28 platforms = platforms.unix;