mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 02:21:32 +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
|
||||
|
||||
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
|
||||
, lib
|
||||
, buildGoPackage
|
||||
, fetchgit
|
||||
, nix
|
||||
, virt-viewer
|
||||
, makeWrapper
|
||||
}:
|
||||
# { stdenv
|
||||
# , lib
|
||||
# , buildGoPackage
|
||||
# , fetchgit
|
||||
# , nix
|
||||
# , virt-viewer
|
||||
# , makeWrapper
|
||||
# }:
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in with pkgs;
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "appvm";
|
||||
|
|
Loading…
Reference in a new issue