Skip to content

fix: use pkgs from source#16

Open
ldicarlo wants to merge 9 commits into
manic-systems:mainfrom
ldicarlo:fix/packages-from-inputs
Open

fix: use pkgs from source#16
ldicarlo wants to merge 9 commits into
manic-systems:mainfrom
ldicarlo:fix/packages-from-inputs

Conversation

@ldicarlo

Copy link
Copy Markdown

fix #14

@NotAShelf

NotAShelf commented May 28, 2026

Copy link
Copy Markdown
Member

This effectively reverts a chunk of #3, and I'm not sure if this is the correct pattern. Why not just get the package from self again?

P.S: please undo the formatting changes. This project uses Alejandra per nix fmt.

@ldicarlo

Copy link
Copy Markdown
Author

So when doing the main way in the nixosModules, when it builds the module on my computer, it uses the nixpkgs of my computer. Since my nixos uses nixos-stable it's what get used to generate the package.

@ldicarlo

Copy link
Copy Markdown
Author

I ran nix fmt and some changes appeared, maybe it has not been ran on main?

@NotAShelf

Copy link
Copy Markdown
Member

The default formatter in flake.nix is alejandra as of beecb06 or the 2.0.3 tag.

NotAShelf and others added 4 commits May 28, 2026 12:39
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3b04b9198a818e7f4a0a29a6b0bb0a656a6a6964
@NotAShelf NotAShelf force-pushed the main branch 2 times, most recently from ce5354e to e9b6d96 Compare May 28, 2026 10:04
@ldicarlo

ldicarlo commented May 29, 2026

Copy link
Copy Markdown
Author

Still, I tried to unformat files, when I run nix fmt it gives me this result. I'll leave it as is if you want.
If you don't, no problem, it's nothing, you can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pkgs from inputs, not callPackage

2 participants