Commit 7b1dc93f3a

7b1dc93f3a01f4e8b138922a27bb3ce60d7be1f9

parent: 745f547904

Unregistered key

weird <weirdrock@riseup.net> · 2025-09-03 05:10 UTC
committer: <noreply@github.com>

Update Nix flake and its lockfile (#500)

Layout: unified · split

flake.lock +9 −9
@@ -20,11 +20,11 @@
2020 },
2121 "nixpkgs": {
2222 "locked": {
23 "lastModified": 1736883708,
24 "narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
23 "lastModified": 1756542300,
24 "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
2525 "owner": "nixos",
2626 "repo": "nixpkgs",
27 "rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
27 "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
2828 "type": "github"
2929 },
3030 "original": {
@@ -36,11 +36,11 @@
3636 },
3737 "nixpkgs_2": {
3838 "locked": {
39 "lastModified": 1736320768,
40 "narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
39 "lastModified": 1744536153,
40 "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
4141 "owner": "NixOS",
4242 "repo": "nixpkgs",
43 "rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",
43 "rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11",
4444 "type": "github"
4545 },
4646 "original": {
@@ -62,11 +62,11 @@
6262 "nixpkgs": "nixpkgs_2"
6363 },
6464 "locked": {
65 "lastModified": 1736994333,
66 "narHash": "sha256-v4Jrok5yXsZ6dwj2+2uo5cSyUi9fBTurHqHvNHLT1XA=",
65 "lastModified": 1756694554,
66 "narHash": "sha256-z/Iy4qvcMqzhA2IAAg71Sw4BrMwbBHvCS90ZoPLsnIk=",
6767 "owner": "oxalica",
6868 "repo": "rust-overlay",
69 "rev": "848db855cb9e88785996e961951659570fc58814",
69 "rev": "b29e5365120f344fe7161f14fc9e272fcc41ee56",
7070 "type": "github"
7171 },
7272 "original": {
flake.nix +29 −7
@@ -8,13 +8,21 @@
88 rust-overlay.url = "github:oxalica/rust-overlay";
99 };
1010
11 outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
12 flake-utils.lib.eachDefaultSystem (system:
11 outputs =
12 {
13 self,
14 nixpkgs,
15 flake-utils,
16 rust-overlay,
17 ...
18 }:
19 flake-utils.lib.eachDefaultSystem (
20 system:
1321 let
1422 # We only need the nightly overlay in the devShell because .rs files are formatted with nightly.
1523 overlays = [ (import rust-overlay) ];
1624 pkgs = import nixpkgs { inherit system overlays; };
17 rustNightly = pkgs.rust-bin.nightly."2024-12-12".default;
25 rustNightly = pkgs.rust-bin.nightly."2025-08-31".default;
1826 in
1927 with pkgs;
2028 {
@@ -26,14 +34,27 @@
2634 lockFile = ./Cargo.lock;
2735 };
2836 nativeBuildInputs = [ pkg-config ];
29 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin
30 (with darwin.apple_sdk.frameworks; [ AppKit Security Cocoa ]);
37 buildInputs =
38 [ openssl ]
39 ++ lib.optionals stdenv.isDarwin (
40 with darwin.apple_sdk.frameworks;
41 [
42 AppKit
43 Security
44 Cocoa
45 ]
46 );
3147 };
3248
3349 devShell = mkShell {
3450 buildInputs = [
3551 (rustNightly.override {
36 extensions = [ "rust-src" "rust-analyzer-preview" "rustfmt" "clippy" ];
52 extensions = [
53 "rust-src"
54 "rust-analyzer-preview"
55 "rustfmt"
56 "clippy"
57 ];
3758 })
3859 pkg-config
3960 cargo-tarpaulin
@@ -41,5 +62,6 @@
4162 sqlite
4263 ];
4364 };
44 });
65 }
66 );
4567}