Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 73dc83815347
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c2d01c0dd5a3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 18, 2019

  1. mdadm: fix path to sendmail

    Without this, mdadm won't be able to send email notifications:
    
      $ sudo mdadm --monitor --scan --test
      sh: /nix/store/2v8jn0lxza72grcm6hciak9fpgm7xb3a-system-sendmail-1.0: Is a directory
    
    Fixes: b074a40 ("mdadm: use shared system-sendmail")
    (cherry picked from commit 6b3832a)
    bjornfor committed Sep 18, 2019
    Copy the full SHA
    c2d01c0 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkgs/os-specific/linux/mdadm/default.nix
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/mdadm/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
sed -e 's@/lib/udev@''${out}/lib/udev@' \
-e 's@ -Werror @ @' \
-e 's@/usr/sbin/sendmail@${system-sendmail}@' -i Makefile
-e 's@/usr/sbin/sendmail@${system-sendmail}/bin/sendmail@' -i Makefile
'';

meta = with stdenv.lib; {