Commit 95f2c7af30

95f2c7af30678b09775d0d6e2b0e044d862fe520

parent: c71cec1f54

Unregistered key

Ryan <error.nointernet@gmail.com> · 2024-03-09 04:03 UTC
committer: <noreply@github.com>

Nix flake updates (#214)

Layout: unified · split

flake.lock +51 −15
@@ -1,12 +1,15 @@
11{
22 "nodes": {
33 "flake-utils": {
4 "inputs": {
5 "systems": "systems"
6 },
47 "locked": {
5 "lastModified": 1678901627,
6 "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=",
8 "lastModified": 1709126324,
9 "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
710 "owner": "numtide",
811 "repo": "flake-utils",
9 "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6",
12 "rev": "d465f4819400de7c8d874d50b982301f28a84605",
1013 "type": "github"
1114 },
1215 "original": {
@@ -16,12 +19,15 @@
1619 }
1720 },
1821 "flake-utils_2": {
22 "inputs": {
23 "systems": "systems_2"
24 },
1925 "locked": {
20 "lastModified": 1659877975,
21 "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
26 "lastModified": 1705309234,
27 "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
2228 "owner": "numtide",
2329 "repo": "flake-utils",
24 "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
30 "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
2531 "type": "github"
2632 },
2733 "original": {
@@ -32,11 +38,11 @@
3238 },
3339 "nixpkgs": {
3440 "locked": {
35 "lastModified": 1679437018,
36 "narHash": "sha256-vOuiDPLHSEo/7NkiWtxpHpHgoXoNmrm+wkXZ6a072Fc=",
41 "lastModified": 1709703039,
42 "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
3743 "owner": "nixos",
3844 "repo": "nixpkgs",
39 "rev": "19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e",
45 "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
4046 "type": "github"
4147 },
4248 "original": {
@@ -48,11 +54,11 @@
4854 },
4955 "nixpkgs_2": {
5056 "locked": {
51 "lastModified": 1665296151,
52 "narHash": "sha256-uOB0oxqxN9K7XGF1hcnY+PQnlQJ+3bP2vCn/+Ru/bbc=",
57 "lastModified": 1706487304,
58 "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
5359 "owner": "NixOS",
5460 "repo": "nixpkgs",
55 "rev": "14ccaaedd95a488dd7ae142757884d8e125b3363",
61 "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac",
5662 "type": "github"
5763 },
5864 "original": {
@@ -75,11 +81,11 @@
7581 "nixpkgs": "nixpkgs_2"
7682 },
7783 "locked": {
78 "lastModified": 1679624450,
79 "narHash": "sha256-wiDqUaklmc31E1+wz5sv52sMcWvZKsL1FBeGJCxz628=",
84 "lastModified": 1709863839,
85 "narHash": "sha256-QpEL5FmZNi2By3sKZY55wGniFXc4wEn9PQczlE8TG0o=",
8086 "owner": "oxalica",
8187 "repo": "rust-overlay",
82 "rev": "afbdcf305fd6f05f708fe76d52f24d37d066c251",
88 "rev": "e5ab9ee98f479081ad971473d2bc13c59e9fbc0a",
8389 "type": "github"
8490 },
8591 "original": {
@@ -87,6 +93,36 @@
8793 "repo": "rust-overlay",
8894 "type": "github"
8995 }
96 },
97 "systems": {
98 "locked": {
99 "lastModified": 1681028828,
100 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
101 "owner": "nix-systems",
102 "repo": "default",
103 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
104 "type": "github"
105 },
106 "original": {
107 "owner": "nix-systems",
108 "repo": "default",
109 "type": "github"
110 }
111 },
112 "systems_2": {
113 "locked": {
114 "lastModified": 1681028828,
115 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
116 "owner": "nix-systems",
117 "repo": "default",
118 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
119 "type": "github"
120 },
121 "original": {
122 "owner": "nix-systems",
123 "repo": "default",
124 "type": "github"
125 }
90126 }
91127 },
92128 "root": "root",
flake.nix +10 −9
@@ -14,28 +14,29 @@
1414 # We only need the nightly overlay in the devShell because .rs files are formatted with nightly.
1515 overlays = [ (import rust-overlay) ];
1616 pkgs = import nixpkgs { inherit system overlays; };
17 rustNightly = pkgs.rust-bin.nightly."2023-03-17".default;
18 in
17 rustNightly = pkgs.rust-bin.nightly."2024-03-08".default;
18 in
1919 with pkgs;
2020 {
21 packages.default = pkgs.rustPlatform.buildRustPackage {
21 packages.default = rustPlatform.buildRustPackage {
2222 pname = "iamb";
23 version = "0.0.7";
23 version = self.shortRev or self.dirtyShortRev;
2424 src = ./.;
2525 cargoLock = {
2626 lockFile = ./Cargo.lock;
2727 outputHashes = {
28 "keybindings-0.0.1" = "sha256-0ZWJNmKdxbJq1W/fuxzyD5Yagu6KsO5WMHlcM51nDvo=";
28 "keybindings-0.0.1" = "sha256-6gGviJF4/gzoPxgh0XJXXrhQoWxOTqyI9fwiOE+TY7s=";
2929 };
3030 };
31 nativeBuildInputs = [ pkgs.pkg-config ];
32 buildInputs = [ pkgs.openssl ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin
33 (with pkgs.darwin.apple_sdk.frameworks; [ AppKit Security ]);
31 nativeBuildInputs = [ pkg-config ];
32 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin
33 (with darwin.apple_sdk.frameworks; [ AppKit Security ]);
3434 };
35
3536 devShell = mkShell {
3637 buildInputs = [
3738 (rustNightly.override {
38 extensions = [ "rust-src" "rust-analyzer-preview" "rustfmt" "clippy" ];
39 extensions = [ "rust-src" "rust-analyzer-preview" "rustfmt" "clippy" ];
3940 })
4041 pkg-config
4142 cargo-tarpaulin