!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

610 Members
121 Servers

Load older messages


SenderMessageTime
2 May 2024
@mewp:nurupo.pl@mewp:nurupo.plinteresting, what about this last package containing only the names? does it also change?15:58:04
@azazel75:matrix.orgazazel75it changes because the path of $src changes... I should calculate a checksum of the whole contents of $src, maybe with a volatile tar command..15:59:35
@mewp:nurupo.pl@mewp:nurupo.pl you can avoid that by cding to the directory before find 16:00:18
@azazel75:matrix.orgazazel75yes16:00:53
@mewp:nurupo.pl@mewp:nurupo.pl then you'll be able to see if the list of files changes. you can also do find -type f . | sha1sum to see if the hashes differ 16:02:10
@mewp:nurupo.pl@mewp:nurupo.plit would be very weird for the hash to change without src changing16:02:45
@mewp:nurupo.pl@mewp:nurupo.pl(none of this has anything to do with flakes btw, this would work the same without them)16:04:19
@azazel75:matrix.orgazazel75 find -type f . | sha1sum would expose only a difference in the names of the contents though 16:08:54
@mewp:nurupo.pl@mewp:nurupo.pl sorry, find -type f . | xargs sha1sum is what I meant 16:09:50
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org joined the room.17:15:10
@soyouzpanda:matrix.orgsoyouzpanda joined the room.17:18:21
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @ultranix:matrix.org@ultranix:matrix.org.19:05:32
@theutz:matrix.org@theutz:matrix.org joined the room.19:54:16
@hbjy:matrix.orgHayden joined the room.20:40:32
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org set a profile picture.21:19:13
4 May 2024
@hofsiedge:matrix.orgIlya Zuev joined the room.06:48:30
@abmantis:abcosta.com@abmantis:abcosta.com joined the room.19:18:22
@abmantis:abcosta.com@abmantis:abcosta.com Hey! Why is it that when I use nix develop (on some repo I've used already) it fetches and updates the packages automatically? It takes quite a while, and I would be happy most of the times to use the current packages I already used one day ago. any way to stop that? 19:24:06
@mewp:nurupo.pl@mewp:nurupo.pl I don't use nix develop, so I'm not sure, but direnv with use flake definitely doesn't do that 19:25:44
@tomberek:matrix.orgtomberekDo you have automatic GC turned on to run nightly? If so, a feature that might help you is "nix develop --profile ./tools". It makes a symlink to protect that stuff from GC. You can even enter that profile directly instead of the flake-defined one with "nix develop ./tools".20:11:57
@abmantis:abcosta.com@abmantis:abcosta.comohhh, I do have GC running! 20:23:23
@abmantis:abcosta.com@abmantis:abcosta.comI'll try that out! thanks a lot20:23:32
6 May 2024
@dayvidpham:envs.netdayvidpham joined the room.05:43:33
@peacememories:fairydust.space@peacememories:fairydust.space left the room.14:11:28
@charles:computer.surgeryCharles changed their display name from Charles ⚡️ to Charles.17:01:06
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org changed their display name from nick_kadutskyi to nickkadutskyi.17:33:26
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org left the room.17:35:38
@nickkadutskyi:matrix.org@nickkadutskyi:matrix.org joined the room.17:37:50
@nickkadutskyi:matrix.org@nickkadutskyi:matrix.org changed their display name from nickkadutskyi to Nick Kadutskyi.17:39:31
@bryan.bennett:matrix.orgBryanIf you use nix-direnv (or flakeenv) and the flake itself hasn't changed, the environment should be cached and a gcroot added for it so that gc doesn't clean it up :) 19:16:53

Show newer messages


Back to Room ListRoom Version: 6