examples: simplify repo examples

This commit is contained in:
DavHau 2023-09-09 14:29:58 +02:00
parent 19f1f0625d
commit e079a21487
4 changed files with 1 additions and 11 deletions

View File

@ -18,7 +18,7 @@
packages.${system} = dream2nix.lib.importPackages {
projectRoot = ./.;
# can be changed to ".git" or "flake.nix" to get rid of .project-root
projectRootFile = ".project-root";
projectRootFile = "flake.nix";
packagesDir = "/packages";
packageSets.nixpkgs = nixpkgs.legacyPackages.${system};
};

View File

@ -1,5 +0,0 @@
{config, ...}: {
paths.projectRoot = ./.;
paths.projectRootFile = ".project-root";
paths.package = "/packages/${config.name}";
}

View File

@ -1,5 +0,0 @@
{config, ...}: {
paths.projectRoot = ./.;
paths.projectRootFile = ".project-root";
paths.package = "/packages/${config.name}";
}