diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | default.nix | 23 |
2 files changed, 3 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore index 89b50ce..f0b11c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ main.db sessions.db server.log + +result/ + diff --git a/default.nix b/default.nix deleted file mode 100644 index c74f585..0000000 --- a/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib, ... }: - -pkgs.buildGoModule rec { - name = "r2wars-web-${version}"; - version = "1.0.0"; - - src = ./.; - vendorHash = null; - - CGO_ENABLED=0; - - subPackages = [ "src" ]; - postInstall = '' - mv $out/bin/src $out/bin/r2wars-web - ''; - - meta = { - description = "A golang implementation of r2wars"; - homepage = "https://r2wa.rs"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ hanemile ]; - }; -} |