This commit is contained in:
2025-06-05 01:24:33 -06:00
commit d110558bee
20 changed files with 457 additions and 0 deletions

23
flake.nix Normal file
View File

@@ -0,0 +1,23 @@
{
description = "My niche packages.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
let
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
in
{
legacyPackages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
packages =
forAllSystems (system:
nixpkgs.lib.filterAttrs
(_: v: nixpkgs.lib.isDerivation v)
self.legacyPackages.${system});
};
}