mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-22 20:23:01 +00:00
Support remove run with nix run
This commit is contained in:
parent
bd63fcd48f
commit
fca2f89046
2
Makefile
2
Makefile
@ -2,4 +2,4 @@ go:
|
|||||||
go build
|
go build
|
||||||
|
|
||||||
nix:
|
nix:
|
||||||
nix-build -E '((import <nixpkgs> {}).callPackage (import ./default.nix) { })' --option sandbox true --no-out-link
|
nix-build #-E '((import <nixpkgs> {}).callPackage (import ./default.nix) { })' --option sandbox true --no-out-link
|
||||||
|
19
default.nix
19
default.nix
@ -1,11 +1,14 @@
|
|||||||
{ stdenv
|
# { stdenv
|
||||||
, lib
|
# , lib
|
||||||
, buildGoPackage
|
# , buildGoPackage
|
||||||
, fetchgit
|
# , fetchgit
|
||||||
, nix
|
# , nix
|
||||||
, virt-viewer
|
# , virt-viewer
|
||||||
, makeWrapper
|
# , makeWrapper
|
||||||
}:
|
# }:
|
||||||
|
let
|
||||||
|
pkgs = import <nixpkgs> {};
|
||||||
|
in with pkgs;
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "appvm";
|
pname = "appvm";
|
||||||
|
Loading…
Reference in New Issue
Block a user