chore: rustup nightly breaks nixos with ldd -> rollback version of rust

This commit is contained in:
DashieTM 2024-05-20 22:07:35 +02:00
parent 397c48ae43
commit 3cb7cd2d7f
6 changed files with 16 additions and 13 deletions

View file

@ -1 +1 @@
flake-profile-1-link flake-profile-2-link

View file

@ -1 +0,0 @@
/nix/store/a7q30l1dy9h81iddq6ysf67616mbjfv2-nix-shell-env

View file

@ -0,0 +1 @@
/nix/store/xrq8ppsi3rg3qjvlkvkvndic04y99djw-nix-shell-env

View file

@ -85,12 +85,15 @@
"locked": { "locked": {
"lastModified": 1716171463, "lastModified": 1716171463,
"narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=",
"type": "tarball", "owner": "oxalica",
"url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" "repo": "rust-overlay",
"rev": "04d61d14803854fd8453ec43c5c53a471e5407a8",
"type": "github"
}, },
"original": { "original": {
"type": "tarball", "owner": "oxalica",
"url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" "repo": "rust-overlay",
"type": "github"
} }
}, },
"systems": { "systems": {

View file

@ -7,9 +7,7 @@
url = "github:hercules-ci/flake-parts"; url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.nixpkgs-lib.follows = "nixpkgs";
}; };
rust-overlay = { rust-overlay.url = "github:oxalica/rust-overlay";
url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
};
}; };
outputs = inputs @ { self, flake-parts, ... }: outputs = inputs @ { self, flake-parts, ... }:
@ -36,8 +34,9 @@
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
inputsFrom = builtins.attrValues self'.packages; inputsFrom = builtins.attrValues self'.packages;
packages = with pkgs; [ packages = with pkgs; [
(rust-bin.selectLatestNightlyWith # (rust-bin.selectLatestNightlyWith
(toolchain: toolchain.default)) # (toolchain: toolchain.default))
rust-bin.nightly."2024-05-10".default
]; ];
}; };

View file

@ -37,8 +37,9 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
wrapGAppsHook4 wrapGAppsHook4
(rust-bin.selectLatestNightlyWith # (rust-bin.selectLatestNightlyWith
(toolchain: toolchain.default)) # (toolchain: toolchain.default))
rust-bin.nightly."2024-05-10".default
]; ];
copyLibs = true; copyLibs = true;