Skip to content

Nix flake support#126

Open
hrenard wants to merge 1 commit into
p2panda:mainfrom
hrenard:main
Open

Nix flake support#126
hrenard wants to merge 1 commit into
p2panda:mainfrom
hrenard:main

Conversation

@hrenard
Copy link
Copy Markdown

@hrenard hrenard commented Oct 7, 2025

Hi, great project !

I wanted to try it on nix, so I got the bare minimum working.

Are you interested to support nix ? If so I will polish this pull request, or make one on nixpkgs if you think it's ready.

@hrenard hrenard marked this pull request as draft October 7, 2025 19:14
@ckiyme
Copy link
Copy Markdown

ckiyme commented Apr 24, 2026

Trying to bump this up in the hope it can be notoced and moved forward 🩷

@ammaratef45
Copy link
Copy Markdown

I came here looking for a way to build reflection my machine (nixos), I tried the flake and I end up getting this error

bwrap: Can't bind mount /oldroot/home/<home-dir>/.cache/font-dirs.xml on /newroot/run/host/font-dirs.xml: Unable to mount source on destination: No such file or directory

I might be using it wrong tho ('m a nixos newbie), I just pulled this branch and did the following:

  • nix develop
  • flatpak run org.gnome.Builder
  • install sdks and build

Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
@hrenard
Copy link
Copy Markdown
Author

hrenard commented May 26, 2026

@ammaratef45 You can try this PR like this :

nix run github:p2panda/reflection/pull/126/head

@ammaratef45
Copy link
Copy Markdown

@ammaratef45 You can try this PR like this :

nix run github:p2panda/reflection/pull/126/head

nice, that worked! will it pick up changes if I make any locally or always run what's on the head of this pr?

@hrenard
Copy link
Copy Markdown
Author

hrenard commented May 26, 2026

@ammaratef45 You can try this PR like this :

nix run github:p2panda/reflection/pull/126/head

nice, that worked! will it pick up changes if I make any locally or always run what's on the head of this pr?

Nope, it needs to be merged or rebased locally. Then you can do nix run .# inside the repo.

@hrenard hrenard marked this pull request as ready for review May 26, 2026 21:29
@hrenard hrenard changed the title WIP: Nix flake support Nix flake support May 26, 2026
@adzialocha
Copy link
Copy Markdown
Member

adzialocha commented May 30, 2026

Thank you for your contributions! 😺

I'm happy to merge this PR if somebody can confirm it's working!

Nobody of the current maintainers uses Nix so we rely on a bit of help here & can't make guarantees about maintenance in the future unless we find someone who takes care of Nix support.

@ammaratef45
Copy link
Copy Markdown

Thank you for your contributions! 😺

I'm happy to merge this PR if somebody can confirm it's working!

Nobody of the current maintainers uses Nix so we rely on a bit of help here & can't make guarantees about maintenance in the future unless we find someone who takes care of Nix support.

I confirm it's working for me!

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.

4 participants