feat: add rebuild package definition

This commit is contained in:
Mohammad Rafiq 2025-07-02 20:04:13 +08:00
parent 2d62c17f13
commit f5123ee173
No known key found for this signature in database

View file

@ -25,14 +25,9 @@
# ... # ...
]; ];
perSystem = perSystem =
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
# Recommended: move all package definitions here. packages.default = pkgs.callPackage ./packages/rebuild {inherit pkgs lib;};
# e.g. (assuming you have a nixpkgs input)
# packages.foo = pkgs.callPackage ./foo/package.nix { };
# packages.bar = pkgs.callPackage ./bar/package.nix {
# foo = config.packages.foo;
# };
}; };
} }
); );