This commit is contained in:
Rongsong Shen 2025-08-26 10:24:41 +08:00
parent 0e288ce0b1
commit adf4888d4a
4 changed files with 63 additions and 5 deletions

View file

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