undate to latest flake

This commit is contained in:
zimbatm
2020-07-07 14:01:39 +02:00
parent 400fa6d9af
commit 590d6d1bad
2 changed files with 8 additions and 11 deletions

View File

@@ -1,15 +1,15 @@
{
description = "Flake utils demo";
inputs.utils.uri = "github:numtide/flake-utils";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
rec {
packages.hello = pkgs.hello;
defaultPackage = packages.hello;
apps.hello = utils.lib.mkApp { drv = packages.hello; };
apps.hello = flake-utils.lib.mkApp { drv = packages.hello; };
defaultApp = apps.hello;
}
);