flake update

This commit is contained in:
Robin Appelman 2023-11-16 16:59:47 +01:00
commit 0f5ea2ebda
2 changed files with 10 additions and 11 deletions

17
flake.lock generated
View file

@ -7,17 +7,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1686242667, "lastModified": 1698420672,
"narHash": "sha256-I7Kwp06WX/9E+rEND1i1wjdKQQm3XiDxYOyNK9fuJu0=", "narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=",
"owner": "icewind1991", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "6d245a3bbb2ee31ec726bb57b9a8b206302e7110", "rev": "aeb58d5e8faead8980a807c840232697982d47b9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "icewind1991", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "6d245a3bbb2ee31ec726bb57b9a8b206302e7110",
"type": "github" "type": "github"
} }
}, },
@ -54,11 +53,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700014539, "lastModified": 1700100993,
"narHash": "sha256-YF+AoCicGzsrlNDrXZYCymfVyYwrMBox+6vbLBsrEQM=", "narHash": "sha256-Zc//DbR3eMGajG09iQUMTO/Tc/fdUYmTAzXYdxx5MKw=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "ed9fd98b28da90b1b28340f3230d35b2061b9752", "rev": "b7a041430733fccaa1ffc3724bb9454289d0f701",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,7 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05"; nixpkgs.url = "nixpkgs/nixos-23.05";
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
naersk.url = "github:icewind1991/naersk?rev=6d245a3bbb2ee31ec726bb57b9a8b206302e7110"; naersk.url = "github:nix-community/naersk";
naersk.inputs.nixpkgs.follows = "nixpkgs"; naersk.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay.url = "github:oxalica/rust-overlay"; rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs"; rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
@ -23,9 +23,9 @@
}; };
inherit (pkgs) lib callPackage rust-bin mkShell; inherit (pkgs) lib callPackage rust-bin mkShell;
inherit (lib.sources) sourceByRegex; inherit (lib.sources) sourceByRegex;
inherit (builtins) fromTOML readFile;
msrv = (fromTOML (readFile ./Cargo.toml)).package.rust-version; msrv = (fromTOML (readFile ./Cargo.toml)).package.rust-version;
inherit (builtins) fromTOML readFile;
toolchain = rust-bin.stable.latest.default; toolchain = rust-bin.stable.latest.default;
msrvToolchain = rust-bin.stable."${msrv}".default; msrvToolchain = rust-bin.stable."${msrv}".default;