nix:pkgs:fabric: use self reference

This commit is contained in:
jaredmontoya
2025-07-09 12:01:24 +02:00
parent 42d3f45c57
commit dd5e57477f
2 changed files with 4 additions and 2 deletions

View File

@@ -71,6 +71,7 @@
default = self.packages.${system}.fabric;
fabric = pkgs.callPackage ./nix/pkgs/fabric {
go = goVersion;
inherit self;
inherit (gomod2nix.legacyPackages.${system}) buildGoApplication;
};
inherit (gomod2nix.legacyPackages.${system}) gomod2nix;

View File

@@ -1,4 +1,5 @@
{
self,
lib,
buildGoApplication,
go,
@@ -8,8 +9,8 @@
buildGoApplication {
pname = "fabric-ai";
version = import ./version.nix;
src = ../../../.;
pwd = ../../../.;
src = self;
pwd = self;
modules = ./gomod2nix.toml;
doCheck = false;