mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-23 16:41:29 +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 a new issue