!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

888 Members
178 Servers

Load older messages


SenderMessageTime
3 Sep 2021
@nan-matrix:matrix.orgnan-matrix
In reply to @emmanuelrosa:matrix.org
Is there a way to update only a specific input in a flake lock file?
nix flake lock --update-input ...
12:26:42
@edrex:matrix.orgedrexsomething seems hosed with my local nix store, I think related to switching from 2.3 to 2.4pre (i should have switched immediately). https://clbin.com/zyElX17:58:10
@edrex:matrix.orgedrexok i think my mistake is I installed nixUnstable to my normal user profile and it didn't update the daemon? but now I'm getting a weird error trying to update the daemon: https://clbin.com/CDYla18:09:55
@edrex:matrix.orgedrexi'm guessing my issues may have stemmed from using the 3.0pre installer linked at https://nixos.wiki/wiki/Flakes#Non-NixOS 18:45:14
@edrex:matrix.orgedrexWiped everything and did a simple single user install.18:45:32
@edrex:matrix.orgedrexUnrelated question: without lots of overhead managing binary caches on both flake producer and consumer side, moving towards a lot more 3rd-party flakes is going to involve a lot more compiling. Is there any work in the community (or core) on making cache management somehow easier for third party flakes?18:48:53
@edrex:matrix.orgedrexI guess a central build cache for 3rd party flakes is bad since it would allow unverified code in18:52:07
@edrex:matrix.orgedrexis there something in the flake spec that allows the flake author to specify a cache? 18:52:08
@tomberek:matrix.orgtomberek Yes. It’s a lot to go over. But yes, there are mechanisms to address this. 21:27:46
4 Sep 2021
@bew:matrix.orgbew
In reply to @edrex:matrix.org
is there something in the flake spec that allows the flake author to specify a cache?
https://github.com/NixOS/nix/pull/4189 ?
05:13:09
@bew:matrix.orgbewThere's also https://github.com/NixOS/nix/issues/382405:38:56
@bew:matrix.orgbewWhich adds the loading of a local nix.conf file05:39:22
@edrex:matrix.orgedrex
In reply to @bew:matrix.org
https://github.com/NixOS/nix/pull/4189 ?
that was merged to master in Nov, awesome!
19:16:11
@edrex:matrix.orgedrexis there a doc describing the Nix branching strategy somewhere? (wondering how commits to master make it to a release)19:16:47
@edrex:matrix.orgedrexi imagine lots of cherry picking19:17:06
@roosemberth:orbstheorem.chRoosIIRC, you open an MR against master and if you want it backported you open an MR against the release branch.19:44:09
@roosemberth:orbstheorem.chRoosI imagine that release branches never get merged back to master and master is forked prior to ZHF upon the next release.19:44:57
@edrex:matrix.orgedrexare release branches tagged directly off current master?19:50:26
@edrex:matrix.orgedrexerr, branched rather19:50:34
@edrex:matrix.orgedrex it looks like releases are tagged off the latest-release branch, which seems to keep a persistent history parallel to master 19:56:46
@edrex:matrix.orgedrexah, i think it starts from master with each new minor release, ie git show $(git merge-base master origin/latest-release) -> Sep 4 201920:01:10
5 Sep 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) Releases are actually "release tracks" which can suffer continous bugfixing and the likes, hence they are modled as branches. 22:57:42
6 Sep 2021
@keiichi:matrix.orgteto joined the room.10:41:41
@roberthensing:matrix.orgRobert Hensing (roberth) joined the room.11:08:42
@moritz.hedtke:matrix.orgmoritz.hedtke joined the room.11:14:40
@j4m3s:prologin.orgj4m3s joined the room.11:20:06
@figsoda:matrix.orgfigsoda joined the room.11:52:12
@tyberius_prime:matrix.orgTyberiusPrime joined the room.12:20:34
@tyberius_prime:matrix.orgTyberiusPrimehey guys. I want to refer to a .nix file inside nixpkgs from my flake with callPackages14:36:57
@tyberius_prime:matrix.orgTyberiusPrimewhat's the magic syntax for that ?14:37:18

Show newer messages


Back to Room ListRoom Version: 6