mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 15:01:56 +03:00
9b6638a1a7
* feat: return underlying d2n instance if pkgs was passed to init, document init pkgs * feat: implement makeOutputs * tests: dont fail if resolveImpure fails * feat: make init return a dream2nix instance, rework makeFlakeOutputs code * feat: default to source if config.projectRoot is not specified, update examples and readme * fix: update the simple template * docs: clarify init in readme * docs: change readme numbering to back to 1 * refactor: dont default projectRoot to source * docs: make extensive example use makeFlakeOutputs, link per-pkgs d2n example in readme * fix: call loadConfig correctly
10 lines
233 B
Nix
10 lines
233 B
Nix
{
|
|
inputs.dream2nix.url = "github:nix-community/dream2nix";
|
|
outputs = inp:
|
|
inp.dream2nix.lib.makeFlakeOutputs {
|
|
# modify according to your supported systems
|
|
systems = ["x86_64-linux"];
|
|
source = ./.;
|
|
};
|
|
}
|