| 6 Aug 2025 |
emily | but I guess it depends on how Nix-y the project is | 15:01:56 |
cleverca22 | given 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 fully | 15:35:41 |
| vidariondr set a profile picture. | 18:31:01 |
cleverca22 | [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 | emily: dang-it, lol | 21:00:51 |
cleverca22 | git+https:// however does work | 21:08:14 |
cleverca22 | only issue, is that github: poisons the lock file | 21:08:31 |
cleverca22 | once you update with that, you cant update again to change the scheme | 21:08:43 |
cleverca22 | correction.... | 21:09:13 |
cleverca22 | git+https:// fetches, and then silently ignores the submodules = true;..... | 21:09:40 |
cleverca22 | 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 | 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 left the room. | 17:45:23 |
| myme joined the room. | 21:14:02 |
| 8 Aug 2025 |
dramforever | wonder if anyone else uses git+https flake input for nixpkgs | 01:50:06 |
dramforever | incremental updates are so much faster | 01:50:23 |
dramforever | on the other hand seems to nix substitute flake input fetches | 01:53:28 |
dramforever | so that's still one download | 01:53:34 |
dramforever | * so that's still one download whenever it does get gc'd | 01:53:41 |
dramforever | but 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 joined the room. | 06:28:06 |
| Picnoir changed their display name from Picnoir to Picnoir DECT 7426. | 12:33:25 |
| Carbsta (they/them) joined the room. | 13:01:53 |
| @selkie-diligent-61ad45186da03739848be880:gitter.im joined the room. | 13:06:05 |
| @selkie-diligent-61ad45186da03739848be880:gitter.im left the room. | 13:06:58 |
| @bryan:snowboardtechie.com left the room. | 17:04:50 |
| Carbsta (they/them) changed their display name from carbsta to Carbsta (they/them). | 18:13:54 |
| 9 Aug 2025 |
| seapat set a profile picture. | 14:23:02 |
| 0x545a joined the room. | 15:15:37 |
| 11 Aug 2025 |
@dminca:matrix.org | hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix
rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24
Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔
Thank you for your patience 🙏
| 12:14:53 |