From 97496d73ee8c01b5331c318b6a1f15cb3dcbc281 Mon Sep 17 00:00:00 2001 From: nekohepott Date: Wed, 17 Jun 2026 04:16:26 +0300 Subject: [PATCH] maybe nix fixed --- default.nix | 2 +- shell.nix | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index 897f9c6..64a149f 100644 --- a/default.nix +++ b/default.nix @@ -21,7 +21,7 @@ buildGoApplication { modules = ./gomod2nix.toml; nativeBuildInputs = [ pkgs.makeWrapper ]; - buildInputs = [ pkgs.chafa ]; + buildInputs = [ "pkgs.chafa" "pkgs.pciutils" ]; postInstall = '' mkdir -p $out/share/gogofetch/logos diff --git a/shell.nix b/shell.nix index 7eb9b30..dae85fc 100644 --- a/shell.nix +++ b/shell.nix @@ -15,12 +15,18 @@ }: let - goEnv = mkGoEnv { pwd = ./.; }; + goApp = pkgs.buildGoModule { + pname = "goGoFetch"; + version = "1.0"; + src = ./.; + vendorHash = null; + }; in pkgs.mkShell { packages = [ - goEnv + goApp gomod2nix pkgs.chafa + pkgs.pciutils ]; }