Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
javierhonduco committed May 28, 2024
1 parent 32ad7af commit c23756a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,9 @@ in


run-vmtest = lightswitch:
pkgs.stdenv.mkDerivation {
name = "run-vmtests";
dontUnpack = true;

src = pkgs.writeText "run-vmtests" ''
${vmtest}/bin/vmtest --config ${vmtest-create-config lightswitch}/vmtest.toml
'';
nativeBuildInputs = [ ];
installPhase = ''
mkdir -p $out/bin
cp -r $src $out/bin/run-vmtests
chmod +x $out/bin/run-vmtests
'';
};
pkgs.writeShellScriptBin "run-vmtests" ''
${vmtest}/bin/vmtest --config ${vmtest-create-config lightswitch}/vmtest.toml
'';


}

0 comments on commit c23756a

Please sign in to comment.