add extralib dependency
This commit is contained in:
parent
cc4718f3fa
commit
7b5f280ae5
2 changed files with 81 additions and 10 deletions
|
|
@ -4,10 +4,11 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
xbuild.url = "github:shen390s/my-nix-channel?ref=master";
|
||||
extralib.url = "git+ssh://forgejo@gitea.shenrs.eu/nexa/extralibs?ref=main";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, xbuild, flake-utils }:
|
||||
outputs = { self, nixpkgs, xbuild, extralib, flake-utils }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" ];
|
||||
myCommitId =
|
||||
|
|
@ -17,9 +18,9 @@
|
|||
in
|
||||
flake-utils.lib.eachSystem supportedSystems (
|
||||
system: let
|
||||
mypkgs = xbuild.packages.${system};
|
||||
mypkgs = xbuild.packages.${system} // extralib.packages.${system};
|
||||
overlays = [
|
||||
(final: prev: prev // mypkgs)
|
||||
(final: prev: mypkgs // prev)
|
||||
];
|
||||
pkgs = import nixpkgs { inherit overlays system;};
|
||||
xpkgs = import ./nixSupport/default.nix {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue