extra-nixpkgs/flake.nix
2025-08-22 09:38:44 +08:00

21 lines
442 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
import ./default.nix { inherit pkgs; });
};
}