!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

611 Members
122 Servers

Load older messages


SenderMessageTime
19 Aug 2024
@morgrimm:matrix.orgremi-gelinas
In reply to @lxsameer:matrix.org
hey folks, do you know any solution to conditional flake inputs?
How do you mean? Unused flake inputs in the attribute you're evaluating/building are copied into the store but lazily used iirc
10:47:42
@morgrimm:matrix.orgremi-gelinas There isn't really a conditional flake input 10:47:52
@lxsameer:matrix.orglxsameerI have a personal repo of a bunch of flake-parts module. I was thinking it would be cool to include haskell related inputs only if my haskell module is enabled.10:48:52
@simon.brandner:envs.netŠimon Brandner
In reply to @simon.brandner:envs.net
This seems to contain some suggestions: https://nixos-and-flakes.thiscute.world/other-usage-of-flakes/inputs
This did not help much since https://github.com/user/repo/archive/main.tar.gz does not include LFS files...
16:47:08
20 Aug 2024
@weethet:catgirl.cloudWeetHet joined the room.00:09:39
@h4rdstyl3z:matrix.orgh4rdstyl3zRedacted or Malformed Event02:03:26
@azahi:azahi.cc@azahi:azahi.cc left the room.09:16:52
21 Aug 2024
@ripi:matrix.orgripi joined the room.10:26:31
@jake:hillion.co.uk@jake:hillion.co.uk left the room.11:30:50
22 Aug 2024
@asmundesen:matrix.orgArtur Manuel joined the room.12:57:51
@asmundesen:matrix.orgArtur Manuel changed their profile picture.14:53:04
@niko:puppygock.gaynyanbinary 🏳️‍⚧️ left the room.17:20:37
24 Aug 2024
@asmundesen:matrix.orgArtur Manuelis there any better way of doing nix flake updates like this?02:18:32
@asmundesen:matrix.orgArtur ManuelDownload fzuplock.py02:18:33
@asmundesen:matrix.orgArtur Manueli am aware that in later versions of nix you can just do `nix flake update (inputs) --flake (flake-dir) but i moved to 2.18 again after some nixpkgs weirdness02:20:15
@asmundesen:matrix.orgArtur Manuel i am aware that in later versions of nix you can just do nix flake update (inputs) --flake (flake-dir) but i moved to 2.18 again after some nixpkgs weirdness 02:20:23
@asmundesen:matrix.orgArtur Manuel
In reply to@asmundesen:matrix.org
fzuplock.py
i meant flake.lock updates, my bad

should still be inferrable however
02:21:51
26 Aug 2024
@von.dev:matrix.orgvon.dev joined the room.13:06:53
27 Aug 2024
@oliver.falvai:oliverfalvai.xyzoliver.falvai joined the room.10:51:40
@aloisw:kde.org@aloisw:kde.org left the room.17:20:35
28 Aug 2024
@ereslibre:matrix.org@ereslibre:matrix.org left the room.07:37:35
@rosssmyth:matrix.orgrosssmyth joined the room.19:55:40
29 Aug 2024
@artur:glasgow.social(artur 'manuel) joined the room.05:50:48
30 Aug 2024
@artur:glasgow.social(artur 'manuel) 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.orgFrumon joined the room.10:11:17

Show newer messages


Back to Room ListRoom Version: 6