mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 09:04:37 +03:00
examples: simplify repo examples
This commit is contained in:
parent
19f1f0625d
commit
e079a21487
@ -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};
|
||||
};
|
||||
|
@ -1,5 +0,0 @@
|
||||
{config, ...}: {
|
||||
paths.projectRoot = ./.;
|
||||
paths.projectRootFile = ".project-root";
|
||||
paths.package = "/packages/${config.name}";
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{config, ...}: {
|
||||
paths.projectRoot = ./.;
|
||||
paths.projectRootFile = ".project-root";
|
||||
paths.package = "/packages/${config.name}";
|
||||
}
|
Loading…
Reference in New Issue
Block a user