Merge pull request #31 from RKBethke/defaultAppError
fix(flake.nix): Avoid deprecated `defaultApp`
This commit is contained in:
commit
9f6f6497f2
1 changed files with 1 additions and 2 deletions
|
@ -20,11 +20,10 @@
|
||||||
pkgs = import nixpkgs { inherit config overlays system; };
|
pkgs = import nixpkgs { inherit config overlays system; };
|
||||||
in rec {
|
in rec {
|
||||||
defaultPackage = packages.website;
|
defaultPackage = packages.website;
|
||||||
defaultApp = apps.hakyll-site;
|
|
||||||
|
|
||||||
packages = with pkgs.myHaskellPackages; { inherit ssg website; };
|
packages = with pkgs.myHaskellPackages; { inherit ssg website; };
|
||||||
|
|
||||||
apps.hakyll-site = flake-utils.lib.mkApp {
|
apps.default = flake-utils.lib.mkApp {
|
||||||
drv = packages.ssg;
|
drv = packages.ssg;
|
||||||
exePath = "/bin/hakyll-site";
|
exePath = "/bin/hakyll-site";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue