From bdd2ed8a38c49fb1a2baa50d42acbdaf8e95b77e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 23 Nov 2023 13:13:09 +0000 Subject: [PATCH] Fix deprecated default package syntax, add flake lock file --- flake.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 2 +- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..1cb90f0 --- /dev/null +++ b/flake.lock @@ -0,0 +1,57 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1694529238, + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1, + "narHash": "sha256-de9KYi8rSJpqvBfNwscWdalIJXPo8NjdIZcEJum1mH0=", + "path": "/nix/store/30cxrh2awg33v2ps964vdiggxnigyqlm-z7y28qzhk7driiwcw78k0mb24laknm0f-source", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index f7dc611..8b6b6bd 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,7 @@ installPhase = "cp -r public $out"; }; - defaultPackage = self.packages.${system}.website; + packages.default = self.packages.${system}.website; devShells.default = pkgs.mkShell { packages = [ pkgs.hugo ]; }; }); }