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.