!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

863 Members
167 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
5 Sep 2023
@mr-qubo:matrix.orgmr-quboBut isn't it possible to set this option only in one flake, and not entire system?17:18:46
@artturin:matrix.orgArtturinit's not a flake thing17:19:14
@artturin:matrix.orgArtturinyou can set it in one package17:19:19
@artturin:matrix.orgArtturin * you can set it in one package with overrideAttrs 17:19:22
@mr-qubo:matrix.orgmr-quboBut 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:matrix.orgArtturinUsing flakes for packages is outside of your systems nixpkgs instance so the config options aren't applied17:22:02
@artturin:matrix.orgArtturinyou'll have to use overlays17:22:09
@artturin:matrix.orgArtturin * you'll have to use overlays to import the packages from other flakes if you want the config to apply17:22:22
@artturin:matrix.orgArtturinWhat is your exact problem17:23:10

Show newer messages


Back to Room ListRoom Version: 6