commit ed758e4b7a298c8ee513c9ebeb9a39ab4e4b5b30
parent 72781d18c7f591dc0d166a5b1972645a10630313
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 27 Jun 2024 13:51:33 +0200
parent 72781d18c7f591dc0d166a5b1972645a10630313
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 27 Jun 2024 13:51:33 +0200
flake.nix: update to nixpkgs 24.05
2 files changed, 31 insertions(+), 12 deletions(-)
diff --git a/flake.lock b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -17,16 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1670625113, - "narHash": "sha256-3XuCP1b8U0/rzvQciowoM6sZjtq7nYzHOFUcNRa0WhY=", + "lastModified": 1719426051, + "narHash": "sha256-yJL9VYQhaRM7xs0M867ZFxwaONB9T2Q4LnGo1WovuR4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e8ec26f41fd94805d8fbf2552d8e7a449612c08e", + "rev": "89c49874fb15f4124bf71ca5f42a04f2ee5825fd", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-22.11", + "ref": "nixos-24.05", "repo": "nixpkgs", "type": "github" } @@ -36,6 +39,21 @@ "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",
diff --git a/flake.nix b/flake.nix @@ -3,7 +3,7 @@ inputs = { flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; }; outputs = { self, nixpkgs, flake-utils }: { @@ -19,14 +19,15 @@ sha256 = "sha256-rrmKSb422YALxg0nV8rjTNgLecJAM8jvg8tnbvSa9SY"; }; - in final.nimPackages.buildNimPackage { + in final.buildNimPackage { name = "dnsmasq-lease-overview"; src = self; - buildInputs = [ nim-mustache ]; + nimFlags = [ + "--showAllMismatches:on" + "--path:${nim-mustache}/src" + ]; - nimFlags = [ "--showAllMismatches:on" ]; - nimBinOnly = true; nimRelease = true; } );