!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community

410 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues111 Servers

Load older messages


SenderMessageTime
8 Oct 2021
@zimbatm:numtide.comJonas Chevalier nix-build --store is not reliable, I think it needs to have write access to the store to work as expected, which wouldn't work with cachix. 07:53:14
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆyeah, :P I really don't quite understand how it's meant to be used for that scenario anyway. I guess my assumption was that they've made it so that it will notice the store being readonly and fallback to the "auto" worker? seems like the "auto" keyword has been getting some work?07:56:09
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ(otherwise I'm not sure why it was at all suggested as a solution? not to be dismissive of the work, I assume I just don't understand)07:56:47
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ * (otherwise I'm not sure why it was at all suggested as a solution on that Issue? not to be dismissive of the work, I assume I just don't understand)07:56:56
@mic92:nixos.devMic92Personally I moved on to hydra, in cases I would have need nix-build-uncached. I would pick it up, I would go for https://github.com/nix-community/nix-eval-jobs which is faster due to use of threads.09:15:18
@mic92:nixos.devMic92I only use it for my nur-packages09:15:54
@mic92:nixos.devMic92I am actually trying to make hydra more accessible: https://github.com/NixOS/hydra/pull/103309:16:11
@mic92:nixos.devMic92Once you have documentation on how to declarative add jobsets it's probably the fastest way to evaluate nix projects.09:17:05
@mic92:nixos.devMic92And than there is hercules if you want better github integration09:17:44
@fedx:matrix.orgfedx joined the room.15:20:21
9 Oct 2021
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆI like to dream about something better.00:28:30
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆa CI system that knew about flake inputs, knew about upstreams for the flake inputs, knew about "upgrade groups" of flake inputs -> it could list outputs, update all inputs in an "upgrade group", relist outputs, build the new outputs, move on to next upgrade group. You could have rich data about your flake input upgrades over time, you could have a smarter flake upgrade process than I've seen anyone implement so far...00:30:13
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆthat doc pr is great too00:30:18
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆI had actually done all this once, I even have scripts that wipe/resetup hydra/rePOST my initial declarative job, etc.00:30:42
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆBut I don't like hydra.00:30:45
@zimbatm:numtide.comJonas Chevalier
In reply to @colemickens:matrix.org
anyway, I think I figured out the issue, I need to be more forceful about having cachix push drvs up to get the behavior I want
I just remembered, you might be hitting the allowSubstitutes = false issue. See https://github.com/Mic92/nix-build-uncached#packages-with-allowsubstitutes--false
06:26:32
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ!! that definitely looks relevant, I was wondering about that, because a lot of the paths it needs to build are the service/text file type of things.06:27:25
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆthank you!06:27:26
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆI'm not even sure what I'm looking at in this lib -_-06:53:39
@domenkozar:matrix.orgDomen KoΕΎarallowSubstitues are the worst, we should fix the efficiency of binary caches instead of adding exceptions manually17:17:36
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆdoes someone have an example of using this workaround in their actual nix(os)-config? https://github.com/Mic92/nix-build-uncached#packages-with-allowsubstitutes--false20:08:04
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆjust to fully wrap my head around it?20:08:15
@mic92:nixos.devMic92AFAIK zimbatm in some internal repo20:13:43
@zimbatm:numtide.comJonas Chevalierthere is an example in the repo: https://github.com/Mic92/nix-build-uncached/blob/master/scripts/force_cached_example.nix20:15:44
@zimbatm:numtide.comJonas Chevalier the core idea is that nix ignored allowSubstitutes = false if the derivation is a dependency of another one. So we find all these in the passed attrset and recursively put a little derivation in front. 20:17:41
@zimbatm:numtide.comJonas Chevalier * the core idea is that nix ignores allowSubstitutes = false if the derivation is a dependency of another one. So we find all these in the passed attrset and recursively put a little derivation in front. 20:17:51
10 Oct 2021
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆdoes it have to be a symlink?02:43:45
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆit'd be nice to not need coreutils for that, just for ease/readability of having to get a sys/pkgs around to get coreutils02:44:20
@nix-community-bot:nixos.devnix-community-bot [nix-community/infra] Mic92 pushed to update/nixpkgs-6fa4e75f7622ccedee8cb58a8d2ecaa658667a10: morph: substitute on remote hosts - https://github.com/nix-community/infra/commit/cf51a421385e083f0002dc8ea093553796309ea6 08:53:45
@nix-community-bot:nixos.devnix-community-bot [nix-community/infra] web-flow pushed to update/nixpkgs-6fa4e75f7622ccedee8cb58a8d2ecaa658667a10: niv nixpkgs: update 6fa4e75f -> 107a51dd - https://github.com/nix-community/infra/commit/85b70c6fab3e9600622597297212f64120784b3a 08:53:46

There are no newer messages yet.


Back to Room ListRoom Version: 6