!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

875 Members
182 Servers

Load older messages


SenderMessageTime
30 Aug 2024
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de changed their display name from Artur Manuel (old email was lost, migrating) to (lambda (u) (format nil "~A lost their email!" u)) "Artur Manuel".03:53:01
@zmitchell:matrix.orgzmitchell set a profile picture.22:09:28
1 Sep 2024
@giyo_moon:matrix.orggiyo_moon joined the room.18:46:27
@giyo_moon:matrix.orggiyo_moonHey! I'm fairly new to nix flake (or nix as whole) and I'm currently trying to build a flake config that I can use as an input in another flake. My current problem is that it want's me to "relay" the inputs of the reusable flake or it errors with "attribute inputs missing". How can I setup my reusable flake to use it's own inputs when calling modules? 19:06:08
@giyo_moon:matrix.orggiyo_moonoh wow, I missed that the local flake I used as an input gets cached badly and I had to flake update on changes xD oof. Thanks anyway!19:12:54
@accelbread:matrix.org@accelbread:matrix.org left the room.23:41:00
2 Sep 2024
@frumon:matrix.org@frumon:matrix.org joined the room.10:11:17
3 Sep 2024
@cynerd:matrix.orgcynerd left the room.14:30:53
@cynerd:matrix.orgcynerd joined the room.14:39:22
4 Sep 2024
@hopland:nitro.chatBigBabyThor

So if a nix flake update updates to a broken system, how would you revert to a previous lockfile? Would you just have to make a backup of the lockfile before you run the update? Or could you sort of source those from a previous generation

23:37:28
5 Sep 2024
@necoarc:transfem.dev@necoarc:transfem.dev joined the room.03:38:08
@necoarc:transfem.dev@necoarc:transfem.dev removed their display name Neco-Arc.03:49:32
@necoarc:transfem.dev@necoarc:transfem.dev removed their profile picture.03:49:32
@necoarc:transfem.dev@necoarc:transfem.dev left the room.03:49:32
@anderson_torres:matrix.org@anderson_torres:matrix.org
In reply to @hopland:nitro.chat

So if a nix flake update updates to a broken system, how would you revert to a previous lockfile? Would you just have to make a backup of the lockfile before you run the update? Or could you sort of source those from a previous generation

solution 1: always git your lockfile
solution 2: pick some previous version known to work
04:01:27
@anderson_torres:matrix.org@anderson_torres:matrix.orgI remember some flag of `nix flake` that overrides the pointer of a flake input04:02:49
@anderson_torres:matrix.org@anderson_torres:matrix.orgDiscourse to the rescue! How to update lock file input to a specific version - Help - NixOS Discourse https://discourse.nixos.org/t/how-to-update-lock-file-input-to-a-specific-version/1888104:05:14
@justastream:matrix.orgStream joined the room.12:08:00
@dramforever:matrix.orgdramforever {previous-generation}/sw/bin/nixos-version tells you the old nixpkgs version 13:45:02
@dramforever:matrix.orgdramforeverin case you need that13:45:25
@aruzeta:matrix.org@aruzeta:matrix.org left the room.18:12:30
6 Sep 2024
@tdjordan:matrix.orgThom Jordan joined the room.18:18:54
@mccartykim:matrix.orgKimberly McCarty joined the room.23:24:52
8 Sep 2024
@pixelfog:matrix.orgpixelfog joined the room.00:14:20
@duanin2:duanin2.topDuanin2 joined the room.14:47:40
9 Sep 2024
@pandapip-1:matrix.orgPandapip1 joined the room.03:43:15
@zoriot:tchncs.deZoriotRedacted or Malformed Event13:42:29
@zoriot:tchncs.deZoriot left the room.13:47:52
@zoriot:tchncs.deZoriot joined the room.13:49:26
@declension:matrix.orgdeclension joined the room.16:04:01

Show newer messages


Back to Room ListRoom Version: 6