| 15 Jan 2026 |
bivsk | I thought maybe the directory under /nix/store differed from the actual build directory, but after running nom build .#tari --keep-failed and checking the build directory under /nix/var/nix/builds/..., the patches directory is there too. I'm really confused now where the no such file error is coming from :/ | 03:03:24 |
bivsk | figured it out! | 06:42:43 |
n8henrie | Have not been able to get this to work using cargoHash directly either; I specify
[dev-dependencies]
rustc-demangle = "=0.1.24"
but unfortunately get
> error: failed to select a version for the requirement `rustc-demangle = "^0.1.24"` (locked to 0.1.26)
> candidate versions found which didn't match: 0.1.24
which seems odd, as it's clearly properly locked:
$ rg -A1 rustc-demangle
Cargo.toml
41:rustc-demangle = "=0.1.24"
42-rustc-literal-escaper = "0.0.5"
Cargo.lock
589: "rustc-demangle",
590- "rustc-literal-escaper",
--
601:name = "rustc-demangle"
602-version = "0.1.24"
Unfortunately cargo tree doesn't seem to work with the build-std dependencies (previously noted: https://github.com/rust-lang/wg-cargo-std-aware/issues/61#issuecomment-774570256):
$ cargo +nightly tree -Z build-std=core --target avr-none -i rustc-demangle
rustc-demangle v0.1.24
[dev-dependencies]
└── relay v0.1.0 (/Users/n8henrie/git/attiny85-relay)
| 15:44:32 |
| n4ch723hr3r (putting stuff in your name is cringe) joined the room. | 21:45:52 |
Logan Devine | Hey folks! I'm trying to get miri to work on Nix Darwin.
I am using rust-overlay for my devShell:
let
overlays = [ rust-overlay.overlays.default ];
pkgs = import nixpkgs { inherit system overlays; };
llvm = pkgs.llvmPackages_20;
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
(rust-bin.selectLatestNightlyWith (
toolchain:
toolchain.default.override {
extensions = [ "rust-src" "miri" "rustc-dev" ];
}
))
llvm.llvm
llvm.libllvm
llvm.clang
llvm.lld
pkg-config
libffi
libxml2
nixfmt
];
LLVM_SYS_201_PREFIX = llvm.llvm.dev;
};
When I execute miri, it seems to believe it can't find cargo-miri:
$ cargo miri run
error: 'cargo-miri' is not installed for the toolchain 'nightly-aarch64-apple-darwin'.
To install, run `rustup component add miri`
I do still see cargo-miri and miri in my Nix store:
ls $(which cargo | xargs dirname)
cargo cargo-miri miri ...(etc)
Anyone got any insight?
| 23:55:11 |
| 16 Jan 2026 |
| @marcel:envs.net left the room. | 00:49:58 |
emily | fwiw I did pkgs.rust-bin.fromRustupToolchain { channel = "nightly"; components = ["miri" "rust-src"]; } last time I needed Miri. maybe toolchain.default.override doesn't work properly there. not sure | 02:47:25 |
Logan Devine | Still doesn't work, hm | 03:13:56 |
accelbread | I've got my miri package definitions here if it helps: [https://github.com/accelbread/flakelight-rust/tree/master/packages](miri packages) | 05:43:42 |
accelbread | * I've got my miri package definitions here if it helps: https://github.com/accelbread/flakelight-rust/tree/master/packages | 05:43:54 |
accelbread | Has anyone gotten build-std working with nixpkgs rustc? | 05:57:29 |
Logan Devine | thank ya, I'll try this out | 15:47:28 |
| 29 Oct 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:57:43 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:57:43 |
| @grahamc:nixos.org changed the room topic to "" from "". | 19:57:43 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:58:21 |
| Matrix Traveler (bot) joined the room. | 19:59:14 |
| Ralith joined the room. | 20:00:28 |
| @grahamc:nixos.orgchanged room power levels. | 20:00:52 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 20:01:04 |
| NixOS Moderation Bot joined the room. | 20:01:05 |
| @grahamc:nixos.orgchanged room power levels. | 20:01:08 |
| Room Avatar Renderer. | 20:02:40 |
| hexa joined the room. | 20:04:36 |
| ash (it/its) 🏳️⚧️ joined the room. | 20:06:27 |
| Church joined the room. | 20:18:19 |
| figsoda joined the room. | 20:33:22 |
| Xe joined the room. | 20:59:23 |
| tomberek joined the room. | 21:02:26 |
| Church changed their display name from noah ⚡️ to Church. | 21:02:31 |