Nixos module
This commit is contained in:
16
default.nix
16
default.nix
@@ -1,18 +1,4 @@
|
||||
{ pkgs ? (
|
||||
let
|
||||
inherit (builtins) fetchTree fromJSON readFile;
|
||||
inherit ((fromJSON (readFile ./flake.lock)).nodes) nixpkgs gomod2nix;
|
||||
in
|
||||
import (fetchTree nixpkgs.locked) {
|
||||
overlays = [
|
||||
(import "${fetchTree gomod2nix.locked}/overlay.nix")
|
||||
];
|
||||
}
|
||||
)
|
||||
, buildGoApplication ? pkgs.buildGoApplication
|
||||
}:
|
||||
|
||||
buildGoApplication {
|
||||
{ buildGoApplication }: buildGoApplication {
|
||||
pname = "tsnet-proxy";
|
||||
version = "0.1";
|
||||
pwd = ./.;
|
||||
|
||||
Reference in New Issue
Block a user