mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
31 lines
480 B
Nix
31 lines
480 B
Nix
{ stdenv
|
|
, lib
|
|
, meson
|
|
, ninja
|
|
, makeWrapper
|
|
, inputs ? [ ]
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "run-workflow-with-vm";
|
|
version = "2024-01-05";
|
|
|
|
src = ./.;
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
makeWrapper
|
|
];
|
|
|
|
preConfigure = ''
|
|
mesonFlagsArray+=("-Dinputs=[${lib.concatStringsSep "," inputs}]")
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Quickly run workflow modules with a VM.";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|