From a20c3cc420d4d244e21e5c12e69759d10e8bbc3a Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Mon, 22 Apr 2024 21:20:29 -0500 Subject: [PATCH 1/2] changed around nix flake. --- flake.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 44a5386..735a203 100644 --- a/flake.nix +++ b/flake.nix @@ -11,10 +11,8 @@ nixpkgs, flake-utils, }: - flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; - in - with pkgs; { + flake-utils.lib.eachDefaultSystem (system: + with import nixpkgs {inherit system;}; { devShells.default = mkShell { buildInputs = [hugo]; }; From b1b041a792ea101999564f9049d4ca7933fc5a07 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Mon, 22 Apr 2024 21:31:59 -0500 Subject: [PATCH 2/2] more nits. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 735a203..3354604 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,7 @@ flake-utils.lib.eachDefaultSystem (system: with import nixpkgs {inherit system;}; { devShells.default = mkShell { - buildInputs = [hugo]; + packages = [hugo]; }; }); }