diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
commit | 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch) | |
tree | d03b70f693463fc836a8dbe4240424d2547530c8 /modules/pkgs/check_mdstat/default.nix | |
parent | c4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff) | |
download | nixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz |
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'modules/pkgs/check_mdstat/default.nix')
-rw-r--r-- | modules/pkgs/check_mdstat/default.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/pkgs/check_mdstat/default.nix b/modules/pkgs/check_mdstat/default.nix deleted file mode 100644 index 5e645fd..0000000 --- a/modules/pkgs/check_mdstat/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ stdenv, gawk, gnugrep }: - -stdenv.mkDerivation { - name = "check_mdstat"; - src = ./check_mdstat; - outputs = [ "out" "conf" ]; - unpackPhase = ":"; - installPhase = '' - mkdir -p $out/bin - - cp "$src" $out/bin/check_mdstat - - substituteInPlace "$out/bin/"* \ - --replace awk '${gawk}/bin/awk' \ - --replace grep '${gnugrep}/bin/grep' - - chmod +x "$out/bin/"* - - cat <<CONF > $conf - object CheckCommand "mdstat" { - import "plugin-check-command" - command = [ "$out/bin/check_mdstat" ] - } - CONF - ''; -} |