feat: add rebuild package definition
This commit is contained in:
parent
2d62c17f13
commit
f5123ee173
1 changed files with 2 additions and 7 deletions
|
@ -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;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue