mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 02:21:32 +00:00
Build appvm from ../default.nix
This commit is contained in:
parent
7b76368699
commit
680aff06f7
|
@ -1,18 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
appvm = (pkgs.buildGoPackage {
|
||||
# TODO ../default.nix
|
||||
name = "appvm";
|
||||
goPackagePath = "code.dumpstack.io/tools/appvm";
|
||||
goDeps = ../deps.nix;
|
||||
src = ../.;
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postFixup = ''
|
||||
wrapProgram $bin/bin/appvm \
|
||||
--prefix PATH : "${lib.makeBinPath [ pkgs.nix pkgs.virt-viewer ]}"
|
||||
'';
|
||||
});
|
||||
appvm = (import ../default.nix);
|
||||
in {
|
||||
imports = [
|
||||
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
|
||||
|
|
Loading…
Reference in a new issue