Nixos module

This commit is contained in:
bluepython508
2023-11-29 11:04:19 +00:00
parent 6f06d76797
commit 0926de2bd8
3 changed files with 48 additions and 18 deletions

View File

@@ -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 = ./.;