Skip to content

Support different Nix store path prefixes - #6367

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
gbpdt:fix/nix_prefix
Dec 29, 2025
Merged

rekram1-node merged 1 commit into
anomalyco:devfrom
gbpdt:fix/nix_prefix

Conversation

@gbpdt

@gbpdt gbpdt commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

The NIX_STORE environment variable (set during Nix builds) is checked for a custom Nix store prefix, defaulting to /nix/store if not set.

The NIX_STORE environment variable (set during Nix builds) is checked
for a custom Nix store prefix, defaulting to /nix/store if not set.
@gbpdt

gbpdt commented Dec 29, 2025

Copy link
Copy Markdown
Contributor Author

I realise this is somewhat niche, but we use non-standard nix prefixes in some cases, and patch-wasm.ts currently hardcodes /nix as the prefix. This patch resolves the issue for us.

CC @Alb-O @delafthi @rekram1-node

@rekram1-node

Copy link
Copy Markdown
Collaborator

/review

@github-actions

Copy link
Copy Markdown
Contributor

lgtm

@Alb-O

Alb-O commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

lgtm!

@rekram1-node
rekram1-node merged commit 923d114 into anomalyco:dev Dec 29, 2025
2 checks passed
hk9890 pushed a commit to hk9890/opencode that referenced this pull request Jan 1, 2026
triklozoid pushed a commit to triklozoid/opencode that referenced this pull request Feb 2, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
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.

3 participants