| 4 Sep 2023 |
| @nord:one.ems.host left the room. | 04:02:27 |
| Robert Hensing (roberth) changed their display name from Robert Hensing (roberth) to roberth. | 15:27:17 |
| Robert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth). | 15:28:04 |
| @rover:aguiarvieira.pt left the room. | 18:11:18 |
| 5 Sep 2023 |
mr-qubo | It seems like not only buildInputs but also it's dependencies are added to PATH, is this a known issue? | 16:24:45 |
Artturin | In reply to @mr-qubo:matrix.org It seems like not only buildInputs but also it's dependencies are added to PATH, is this a known issue? they're added when strictDeps is false | 16:38:26 |
Artturin | In reply to @mr-qubo:matrix.org It seems like not only buildInputs but also it's dependencies are added to PATH, is this a known issue? * they're added when strictDeps is false
it's true on cross-compilation and in some package sets
| 16:38:48 |
Artturin | * they're added when strictDeps is false
it's true on cross-compilation and in some package sets even when not cross
| 16:38:56 |
Artturin | * they're added when strictDeps is false
it's true on cross-compilation and in some package sets even when not cross
you can enable it when not cross if you want
| 16:39:24 |
mr-qubo | In reply to @artturin:matrix.org
they're added when strictDeps is false
it's true on cross-compilation and in some package sets even when not cross
you can enable it when not cross if you want
I see. The problem I have is that I use coreutils-full in systemPackages. But most of my flakes override this with coreutils because it's a common dependency and it's added to PATH before /run/current-system/sw/bin. | 17:02:42 |
mr-qubo | Long PATH also makes zsh completion slow. | 17:04:45 |
mr-qubo | In reply to @artturin:matrix.org
they're added when strictDeps is false
it's true on cross-compilation and in some package sets even when not cross
you can enable it when not cross if you want
I can't find how to enable it in flake. | 17:13:12 |
Artturin | In reply to @mr-qubo:matrix.org I can't find how to enable it in flake. it's a buildInputs and such is a mkDerivation thing | 17:15:36 |
Artturin | not a flake thing | 17:15:39 |
Artturin | In reply to @mr-qubo:matrix.org I can't find how to enable it in flake. * it's a mkDerivation thing | 17:15:48 |
Artturin | the dependecy attributes ate mkDerivation things | 17:16:38 |
Artturin | * the dependency attributes are mkDerivation things | 17:16:42 |
mr-qubo | There's a nixpkgs.config option strictDepsByDefault, but no idea how to use it in flake. | 17:16:44 |
Artturin | that'll rebuild almost all of your packages | 17:17:13 |
Artturin | it's a nixpkgs config thing not a nixos system thing | 17:17:23 |
mr-qubo | But isn't it possible to set this option only in one flake, and not entire system? | 17:18:46 |
Artturin | it's not a flake thing | 17:19:14 |
Artturin | you can set it in one package | 17:19:19 |
Artturin | * you can set it in one package with overrideAttrs | 17:19:22 |
mr-qubo | But I want to have it for all packages. I already set strictDepsByDefault in my nixos configuration.nix, and the rebuild was fast, as everything was downloaded from cache.
But I think it's not being applied to flakes. | 17:21:21 |
Artturin | Using flakes for packages is outside of your systems nixpkgs instance so the config options aren't applied | 17:22:02 |
Artturin | you'll have to use overlays | 17:22:09 |
Artturin | * you'll have to use overlays to import the packages from other flakes if you want the config to apply | 17:22:22 |
Artturin | What is your exact problem | 17:23:10 |
Artturin | You're maybe looking in the wrong place | 17:23:44 |