Skip to content

nextflow: fix trace+docker failure by reverting trace_cmd bash path - #491967

Merged
vcunat merged 1 commit into
NixOS:masterfrom
mulatta:fix-nextflow
Mar 1, 2026
Merged

vcunat merged 1 commit into
NixOS:masterfrom
mulatta:fix-nextflow

Conversation

@mulatta

@mulatta mulatta commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor

Fix #350183

Things done

  • add docker+trace combination test

  • patch trace_cmd for revert (/bin/bash <-> pkgs.bash)

  • Built on platform:

    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:

  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.

  • Tested basic functionality of all binary files, usually in ./result/bin/.

  • Nixpkgs Release Notes

    • Package update: when the change is major or breaking.
  • NixOS Release Notes

    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@mulatta mulatta mentioned this pull request Feb 19, 2026
4 tasks done
@mulatta
mulatta requested a review from rollf February 19, 2026 03:39
@mulatta

mulatta commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 491967
Commit: bdc35de3a3c4a2ae852ec36cb9c383bc88dca25f


x86_64-linux

✅ 2 packages built:
  • nextflow
  • nf-test

@nixpkgs-ci
nixpkgs-ci Bot requested a review from Etjean February 19, 2026 03:40
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS labels Feb 19, 2026
@mulatta

mulatta commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 491967
Commit: bdc35de3a3c4a2ae852ec36cb9c383bc88dca25f


aarch64-darwin

✅ 2 packages built:
  • nextflow
  • nf-test

@rollf rollf left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I run nix build -L github:mulatta/nixpkgs/fix-nextflow#nixosTests.nextflow and it went fine.

I personally prefer a /usr/bin/env -S bash-based version because a) it's mandated by POSIX and I have yet to see a system that does not have /usr/bin/env (including docker containers) and b) maintainability of our patch is easier.

EDIT: clarification about docker

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 19, 2026
@vcunat
vcunat enabled auto-merge February 26, 2026 21:56

@mdaniels5757 mdaniels5757 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dummy comment to enable merge

@vcunat
vcunat added this pull request to the merge queue Mar 1, 2026
Merged via the queue into NixOS:master with commit de1970a Mar 1, 2026
33 of 35 checks passed
@mulatta
mulatta deleted the fix-nextflow branch March 2, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nextflow: When using docker and enabling tracing, processes fail within the docker containers due to paths to /nix/store/bash

4 participants