This commit is contained in:
Rongsong Shen 2025-08-26 10:40:52 +08:00
parent adf4888d4a
commit 26ab45b57b
3 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{pkgs,mypkgs,...}:
{pkgs,...}:
with pkgs;
{
xbuild = callPackage ./pkgs/x/xbuild/package.nix {};

View file

@ -3,10 +3,9 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
mypkgs.url = "github:shen390s/my-nix-channel?ref=master";
};
outputs = { self, nixpkgs, mypkgs}:
outputs = { self, nixpkgs}:
let
supportedSystems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
@ -15,7 +14,7 @@
packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in
import ./default.nix { inherit pkgs; inherit mypkgs;});
import ./default.nix { inherit pkgs; });
};
}

View file

@ -4,7 +4,6 @@
stdenv,
fetchFromGitHub,
pkgs,
mypkgs,
...
}:
@ -31,6 +30,10 @@ let
aclocal && automake --add-missing && autoconf
'';
};
capnpc = pkgs.callPackage ../../pkgs/c/capnpc/package.nix {};
cedro = pkgs.callPackage ../../pkgs/c/cedro/package.nix {};
wrapped_xbuild = stdenv.mkDerivation {
name = "xbuild-wrapper";
@ -61,7 +64,8 @@ let
pkgs.elogind
pkgs.sqlite
pkgs.python3
mypkgs.capnpc
capnpc
cedro
];
propagatedBuildInputs = [