extra-nixpkgs/flake.nix
Rongsong Shen 500aca76ac flake
2025-08-21 16:45:44 +08:00

20 lines
467 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs}:
let
supportedSystems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in
{
packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
xbuild = pkgs.callPackage ./pkgs/x/xbuild/package.nix {};
});
};
}