blob: 56be8825be62ccb8b37a5e34874bd20cb28bca66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>
{ pkgs ? import <nixpkgs> {} }: pkgs.callPackage (
{ lib, stdenv, fetchpatch, meson, ninja, rustc }:
let
inherit (lib) cleanSource cleanSourceWith hasSuffix;
in
stdenv.mkDerivation {
name = "start-vm";
src = cleanSourceWith {
filter = name: _type: !(hasSuffix ".nix" name);
src = cleanSource ./.;
};
nativeBuildInputs = [ meson ninja rustc ];
doCheck = true;
}
) { }
|