| 19 Jul 2021 |
vika (she/her) 🏳️⚧️ | In reply to @buckley310:matrix.org tldr, add this to you rinputs flake-utils.url = "github:numtide/flake-utils"; and then add , ... to your output function. Thank you very much | 04:23:38 |
vika (she/her) 🏳️⚧️ | It does work now | 04:23:45 |
Buckley | im not completely sure its supposed to work that way, but yeah. | 04:24:30 |
vika (she/her) 🏳️⚧️ | This property of "follows" surely could be exploited in some way to do interesting things... | 04:24:08 |
Buckley | i think follows is a rough-edge that has to be ironed out before flakes go stable. | 04:24:59 |
vika (she/her) 🏳️⚧️ | Well, that's why flakes are experimental :3 | 04:25:11 |
Buckley | lol | 04:25:39 |
vika (she/her) 🏳️⚧️ | Oh yeah, we're building stuff now | 04:25:29 |
matthewcroughan - nix.zone | Hmm, there is no way to do LFS with your inputs is there? | 10:09:24 |
matthewcroughan - nix.zone | Does anybody have a strategy for dealing with that? | 10:09:29 |
matthewcroughan - nix.zone | I need git lfs, but I want to use self. | 10:09:36 |
chreekat | Large file storage? | 10:24:34 |
chreekat | Oh I guess it's the same topic as here: https://discourse.nixos.org/t/how-to-fetch-lfs-enabled-repo-with-fetchfromgithub/5890/10 | 10:27:25 |
chreekat | I mean, that's not about flakes, but about lfs | 10:27:35 |
matthewcroughan - nix.zone | In reply to @b:chreekat.net I mean, that's not about flakes, but about lfs yes, there is no way to do this with flakes | 11:31:42 |
matthewcroughan - nix.zone | how is an input fetched? | 11:31:55 |
matthewcroughan - nix.zone | I want to do src = self; but fetch lfs. | 11:35:19 |
matthewcroughan - nix.zone | This seems impossible, to me. | 11:35:27 |
matthewcroughan - nix.zone | Am I expected to instead fetch lfs outside of nix, an impurity? | 11:35:47 |
chreekat | I guess I wouldn't be surprised if it's just a missing feature | 12:03:01 |
matthewcroughan - nix.zone | Yeah I think it is | 12:05:45 |
matthewcroughan - nix.zone | fetchgit can fetch lfs. But you cannot get lfs as part of self in any flake. | 12:06:02 |
matthewcroughan - nix.zone | and you can of course not pass self into fetchgit. | 12:06:14 |
matthewcroughan - nix.zone | unless you want fun | 12:06:32 |
matthewcroughan - nix.zone | Like
src = final.pkgs.fetchgit {
url = builtins.unsafeDiscardStringContext "file://${self}.git";
};
Which doesn't even work.
| 12:06:58 |
matthewcroughan - nix.zone | * Like
src = final.pkgs.fetchgit {
url = builtins.unsafeDiscardStringContext "file://${self}";
};
Which doesn't even work.
| 12:07:09 |
| j-k joined the room. | 15:01:48 |
matthewcroughan - nix.zone | nix-build and nix build seem to produce different results. nix build vs nix-build with getFlake behave differently, the outPath for former doesn't contain .git, but the latter does. | 22:32:11 |
matthewcroughan - nix.zone | * nix-build and nix build seem to produce different results. nix build vs nix-build with getFlake behave differently, the outPath for former doesn't contain .git, but the latter does. | 22:56:25 |
| 20 Jul 2021 |
polykernel | can a flake have inputs of arbitrary types? | 01:27:51 |