This commit is contained in:
Rongsong Shen 2025-08-21 16:45:44 +08:00
parent 4dfb17fdd4
commit 500aca76ac
3 changed files with 49 additions and 1 deletions

20
flake.nix Normal file
View file

@ -0,0 +1,20 @@
{
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 {};
});
};
}