!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

888 Members
180 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Aug 2025
@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

Show newer messages


Back to Room ListRoom Version: 6