maybe nix fixed

This commit is contained in:
nekohepott 2026-06-17 04:16:26 +03:00
parent 7d2f72e32d
commit 97496d73ee
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,7 @@ buildGoApplication {
modules = ./gomod2nix.toml; modules = ./gomod2nix.toml;
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];
buildInputs = [ pkgs.chafa ]; buildInputs = [ "pkgs.chafa" "pkgs.pciutils" ];
postInstall = '' postInstall = ''
mkdir -p $out/share/gogofetch/logos mkdir -p $out/share/gogofetch/logos

View File

@ -15,12 +15,18 @@
}: }:
let let
goEnv = mkGoEnv { pwd = ./.; }; goApp = pkgs.buildGoModule {
pname = "goGoFetch";
version = "1.0";
src = ./.;
vendorHash = null;
};
in in
pkgs.mkShell { pkgs.mkShell {
packages = [ packages = [
goEnv goApp
gomod2nix gomod2nix
pkgs.chafa pkgs.chafa
pkgs.pciutils
]; ];
} }