Files
tf2-nix/flake.nix
Shelvacu 1b61a16e8c Expose everything under legacyPackages instead of packages
every attribute in packages.{system}.* is expected to be a derivation (you can see this if you run nix flake check), legacyPackages is explicitly for nixpkgs and nixpkgs-style attrsets combining packages and functions and sets of packages
2025-06-29 18:23:27 -07:00

20 lines
491 B
Nix

{
description = "A Nix framework for configuring Team Fortress 2";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, ... }@inputs:
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import inputs.nixpkgs { inherit system; };
lib = pkgs.lib;
in {
legacyPackages = import ./tf2/packages {
inherit pkgs lib;
};
});
}