util-linux: Fix build on non-Linux#244371
Conversation
|
systemd needs to be changed to use getOutput to get outputs. example should target staging https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#rebasing-between-branches-ie-from-master-to-staging |
75d845c to
0df47d7
Compare
Build logs show: > configure: WARNING: non-linux system; not building mount > configure: WARNING: non-linux system; not building swapon So skip these on non-Linux See also: - NixOS#244000 - aarch64-darwin: https://hydra.nixos.org/build/227974050 - x86_64-darwin: https://hydra.nixos.org/build/227804585
0df47d7 to
c582f6e
Compare
|
@Artturin Done. We could probably avoid the need for a mass rebuild by preserving the How can I repro the need for |
If you do .mount on a non Linux system it'll fail eval Though now that I think about it it would be better to put those behind isLinux to not have possibly broken paths, even if they're not used. |
Sure, but systemd is |
Hmm yeah true, but the ofborg eval was failing with a systemd issue. |
|
Made a pr which can go in to master #244544, you can pick the changes here and target master if you prefer. |
|
Merged to master. Thanks for the pr. |
Build logs show:
So skip these on non-Linux
See also:
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)