From 4c9203c03aa5104ee7908fa9c54af15fb31c1cfe Mon Sep 17 00:00:00 2001 From: nekohepott Date: Wed, 17 Jun 2026 04:16:27 +0300 Subject: [PATCH] cleaning up --- .SRCINFO | 16 ---------------- flake.nix | 4 ++-- default.nix => nix/default.nix | 2 +- gomod2nix.toml => nix/gomod2nix.toml | 0 shell.nix => nix/shell.nix | 2 +- 5 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 .SRCINFO rename default.nix => nix/default.nix (98%) rename gomod2nix.toml => nix/gomod2nix.toml (100%) rename shell.nix => nix/shell.nix (97%) diff --git a/.SRCINFO b/.SRCINFO deleted file mode 100644 index 32548cc..0000000 --- a/.SRCINFO +++ /dev/null @@ -1,16 +0,0 @@ -pkgbase = gogofetch-git - pkgdesc = fetch made with C++ rewritten to go for no reason - pkgver = r14.ff1fcf9 - pkgrel = 1 - url = git+https://codeberg.org/nekohepott/goGoFetch.git - arch = x86_64 - license = MIT - makedepends = git - makedepends = go - depends = glibc - provides = gogofetch - conflicts = gogofetch - source = git+https://codeberg.org/nekohepott/goGoFetch.git - sha256sums = SKIP - -pkgname = gogofetch-git diff --git a/flake.nix b/flake.nix index 9c0928c..6c18b34 100644 --- a/flake.nix +++ b/flake.nix @@ -44,10 +44,10 @@ checks = { inherit go-lint; }; - packages.default = callPackage ./. { + packages.default = callPackage ./nix/. { inherit (gomod2nix.legacyPackages.${system}) buildGoApplication; }; - devShells.default = callPackage ./shell.nix { + devShells.default = callPackage ./nix/shell.nix { inherit (gomod2nix.legacyPackages.${system}) mkGoEnv gomod2nix; }; } diff --git a/default.nix b/nix/default.nix similarity index 98% rename from default.nix rename to nix/default.nix index 6fe84e5..70d45ae 100644 --- a/default.nix +++ b/nix/default.nix @@ -17,7 +17,7 @@ buildGoApplication { pname = "gogofetch"; version = "1.0"; pwd = ./.; - src = ./.; + src = ../.; subPackages = [ "src" ]; modules = ./gomod2nix.toml; diff --git a/gomod2nix.toml b/nix/gomod2nix.toml similarity index 100% rename from gomod2nix.toml rename to nix/gomod2nix.toml diff --git a/shell.nix b/nix/shell.nix similarity index 97% rename from shell.nix rename to nix/shell.nix index 380f33f..b2af1b1 100644 --- a/shell.nix +++ b/nix/shell.nix @@ -18,7 +18,7 @@ let goApp = pkgs.buildGoModule { pname = "goGoFetch"; version = "1.0"; - src = ./.; + src = ../.; subPackages = [ "src" ]; vendorHash = null; };