Monorepo for Tangled tangled.org

Unstable packages not being found in PATH #403

open opened by kacaii.dev edited

When using packages from nix-unstable during CI, they wont be available in PATH without exporting the variable first. The "export PATH" line is necessary in every step that uses the unstable package, or else it wont work.

dependencies:
  nixpkgs:
    - nodejs
    - tailwindcss_4

  github:NixOS/nixpkgs/nixpkgs-unstable:
    - gleam
    - beamMinimal28Packages.erlang
    - beamMinimal28Packages.rebar3

steps:
  - name: Build HTML
    command: |
      # vv This is necessary when using unstable packages
      export PATH="$HOME/.nix-profile/bin:$PATH"

      # The gleam binary is now accessible.
      gleam run

the fix for this has been merged! will be deployed soon.

Oh that was quick, thank you!!

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:dvyyslcz7bicxdumlccviqyv/sh.tangled.repo.issue/3mdsixdwuzd22