!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

833 Members
165 Servers

Load older messages


SenderMessageTime
6 Aug 2025
@cleverca22:matrix.orgcleverca22 hmmmm, but now CI fails:
error: unexpected flake input attribute 'submodules', at /nix/store/9v6yq23xyzhciq4d6w2w4qy66mv4bfaw-source/flake.nix:8:5
14:40:12
@cleverca22:matrix.orgcleverca22because CI runs 2.24.9 and doesnt understand that flag14:41:44
@emilazy:matrix.orgemilyif you can use git subtrees14:46:14
@emilazy:matrix.orgemilyyour life will be a lot easier14:46:19
@cleverca22:matrix.orgcleverca22problem is convincing an upstream repo to entirely change how they manage things, when i will likely never be returning as a contributor14:55:47
@cleverca22:matrix.orgcleverca22bumping the nix version in the github action does fix the last error14:56:05
@emilazy:matrix.orgemilywell if they ship a flake they should probably care about flake UX15:01:46
@emilazy:matrix.orgemilybut I guess it depends on how Nix-y the project is15:01:56
@cleverca22:matrix.orgcleverca22given that it refuses to build when used as a flake input (because of the above issues), i think its just one nix user, that hasnt tested things fully15:35:41
@vidariondr:matrix.orgvidariondr set a profile picture.18:31:01
@cleverca22:matrix.orgcleverca22
[clever@amd-nixos:~/apps/vali/PSn00bSDK-Nix]$ nix flake info
warning: 'nix flake info' is a deprecated alias for 'nix flake metadata'
warning: Git tree '/home/clever/apps/vali/PSn00bSDK-Nix' is dirty
error:
       … while updating the lock file of flake 'git+file:///home/clever/apps/vali/PSn00bSDK-Nix'

       error: input attribute 'submodules' not supported by scheme 'github'
21:00:39
@cleverca22:matrix.orgcleverca22 emily: dang-it, lol 21:00:51
@cleverca22:matrix.orgcleverca22 git+https:// however does work 21:08:14
@cleverca22:matrix.orgcleverca22 only issue, is that github: poisons the lock file 21:08:31
@cleverca22:matrix.orgcleverca22once you update with that, you cant update again to change the scheme21:08:43
@cleverca22:matrix.orgcleverca22correction....21:09:13
@cleverca22:matrix.orgcleverca22 git+https:// fetches, and then silently ignores the submodules = true;..... 21:09:40
@cleverca22:matrix.orgcleverca22 so basically, inputs.self.submodules = true; is almost useless
it seems to only work on git+file:// and nowhere else
21:26:27
7 Aug 2025
@woile:matrix.orgwoile

Maybe someone here in flakes can help me with this:

hi people, I need some help with importNpmLock.npmConfigHook. I'm trying to build this package using buildNpmPackage. But when building it I get:

mv: cannot stat 'package.json': No such file or directory

Which is inside the npm-config-hook. I'm not sure what's going wrong. The traceback shows the source folder being used and it contains the ./site/package.json and the npm-config-hook.sh does a pushd "$npmRoot", so it should be there. Any thoughts? Thanks!

10:56:34
@felix.herrmann:matrix.sabix.de@felix.herrmann:matrix.sabix.de left the room.17:45:23
@myme:matrix.orgmyme joined the room.21:14:02
8 Aug 2025
@dramforever:matrix.orgdramforever wonder if anyone else uses git+https flake input for nixpkgs 01:50:06
@dramforever:matrix.orgdramforeverincremental updates are so much faster01:50:23
@dramforever:matrix.orgdramforeveron the other hand seems to nix substitute flake input fetches01:53:28
@dramforever:matrix.orgdramforeverso that's still one download01:53:34
@dramforever:matrix.orgdramforever* so that's still one download whenever it does get gc'd01:53:41
@dramforever:matrix.orgdramforeverbut that's easy to work around, just hold on to it in the system closure or something (which by default the flake registry thing already does yay)01:54:03
@0x4a6f:nixos.dev0x4A6F joined the room.06:28:06
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir to Picnoir DECT 7426.12:33:25
@carbsta:matrix.orgCarbsta (they/them) joined the room.13:01:53

Show newer messages


Back to Room ListRoom Version: 6