Browse Source

Build appvm from ../default.nix

tags/v0.4
dump_stack() 1 year ago
parent
commit
680aff06f7
Signed by: Mikhail Klementev <blame@dumpstack.io> GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 12 deletions
  1. 1
    12
      os/configuration.nix

+ 1
- 12
os/configuration.nix View File

@@ -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…
Cancel
Save