extra-nixpkgs/flake.nix
Rongsong Shen adf4888d4a refine
2025-08-26 10:24:41 +08:00

22 lines
528 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
mypkgs.url = "github:shen390s/my-nix-channel?ref=master";
};
outputs = { self, nixpkgs, mypkgs}:
let
supportedSystems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in
{
packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in
import ./default.nix { inherit pkgs; inherit mypkgs;});
};
}