| 19 Dec 2022 |
| dusk changed their profile picture. | 02:33:19 |
steviej | dusk: thanks! i tried the latter as i'm already using my own platform but it also doesn't have an effect here. i must be making this harder than it has to be somehow :-D | 02:39:31 |
dusk | Probably also try the former to make sure | 02:40:26 |
steviej | that doesn't work either. i always see this: env CC_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc | 02:41:39 |
dusk | That shouldn't be a problem, if you look at the full line you'll see its setting to the correct clang binaries afterwards | 02:51:18 |
dusk | ++ env CC_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --release
``` like so
| 02:51:44 |
dusk | * ++ env CC_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --release
```
like so
| 02:51:48 |
dusk | * ++ env CC_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --release
like so
| 02:51:55 |
dusk | let
pkgs = import <nixpkgs> {};
rustPlatform = pkgs.makeRustPlatform {inherit (pkgs) rustc cargo; stdenv = pkgs.clangStdenv;};
in
rustPlatform.buildRustPackage {
pname = "hello";
version = "a";
src = pkgs.ripgrep.src;
cargoLock.lockFile = "${pkgs.ripgrep.src}/Cargo.lock";
}
nix drv i was using for reference
| 02:52:34 |
dusk | In reply to @dusk:gaze.systems
++ env CC_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j17j4qqf28js718v8pfymvhk6p3l6n38-clang-wrapper-11.1.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --release
like so
they are being set here https://github.com/NixOS/nixpkgs/blob/e83d9efe4d520414346248dfcdb883701048c847/pkgs/build-support/rust/hooks/default.nix#L23-L26 | 02:52:49 |
| lgcl changed their profile picture. | 13:45:42 |
| 21 Dec 2022 |
| Yuu☯Yin changed their display name from yuu✨✨ to Yuu☯Yin. | 19:55:17 |
| 22 Dec 2022 |
aktaboot | Charles ⚡️ in your nix-rust-quickstart, when you direnv, what shell gets executed ? | 20:07:13 |
aktaboot | is it the fake devShell.default ? | 20:07:29 |
aktaboot | * is it the fake devShells.default ? | 20:07:44 |
aktaboot | so you can either have a shell.nix or a flake.nix devShells.default, anyone takes precedence ? | 20:08:13 |
aktaboot | * so you can either have a shell.nix or a flake.nix devShells.default (for nix-direnv), anyone takes precedence ? | 20:08:31 |
Charles ⚡️ | use nix would do shell.nix, use flake uses devShells.default from flake.nix | 20:11:35 |
aktaboot | thank | 20:27:53 |
Ralith | In reply to @charles:computer.surgery
use nix would do shell.nix, use flake uses devShells.default from flake.nix where does use flake come from? | 21:07:42 |
aktaboot | In reply to @ralith:ralith.com where does use flake come from? in the .envrc fiel | 21:10:57 |
aktaboot | * in the .envrc file | 21:10:59 |
Ralith | that's where it goes | 21:11:07 |
Ralith | where does it come from | 21:11:09 |
Ralith | is it packaged with direnv these days? | 21:11:44 |
Charles ⚡️ | nix-direnv still | 21:43:47 |
aktaboot | akthough direnv is built with nix 🤔 | 21:54:20 |
aktaboot | * although direnv is built with nix 🤔 | 21:54:48 |
Ralith | In reply to @charles:computer.surgery nix-direnv still nix-direnv? | 23:03:19 |
Charles ⚡️ | In reply to @ralith:ralith.com nix-direnv? https://github.com/nix-community/nix-direnv | 23:56:25 |