Skip to content

bindfs: fix darwin build by disabling system binding#330366

Merged
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
denbeigh2000:denbeigh/bindfs-macos
Jul 30, 2024
Merged

bindfs: fix darwin build by disabling system binding#330366
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
denbeigh2000:denbeigh/bindfs-macos

Conversation

@denbeigh2000
Copy link
Copy Markdown
Contributor

Description of changes

This adds --disable-macos-fs-link to configureFlags on darwin platforms, removing /etc/fstab and mount -t bindfs support on the platform.

This solution isn't ideal, but is better than the tool not building at all.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Jul 27, 2024
@denbeigh2000
Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 330366 run on aarch64-darwin 1

1 package built:
  • bindfs

@ofborg ofborg bot requested review from lovek323 and lovesegfault July 27, 2024 09:58
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 27, 2024
@ofborg ofborg bot added the 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. label Jul 27, 2024
@denbeigh2000 denbeigh2000 force-pushed the denbeigh/bindfs-macos branch from a5027f6 to 35ce1b0 Compare July 30, 2024 09:24
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 30, 2024
This adds `--disable-macos-fs-link` to configureFlags on darwin
platforms, removing /etc/fstab and `mount -t bindfs` support.

This isn't ideal, but is better than the tool not building at all.
@denbeigh2000 denbeigh2000 force-pushed the denbeigh/bindfs-macos branch from 35ce1b0 to 3d54e5a Compare July 30, 2024 09:32
@github-actions github-actions bot removed the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 30, 2024
@SuperSandro2000 SuperSandro2000 merged commit 1fd89ea into NixOS:master Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants