Merge pull request #171877 from dtzWill/fix/issue-171609

main
Artturi 2 years ago committed by GitHub
commit d441aabf07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/os-specific/linux/latencytop/default.nix

@ -1,10 +1,16 @@
{ lib, stdenv, fetchurl, ncurses, glib, pkg-config, gtk2 }:
{ lib, stdenv, fetchurl, ncurses, glib, pkg-config, gtk2, util-linux }:
stdenv.mkDerivation rec {
pname = "latencytop";
version = "0.5";
patchPhase = "sed -i s,/usr,$out, Makefile";
postPatch = ''
sed -i s,/usr,$out, Makefile
# Fix #171609
substituteInPlace fsync.c --replace /bin/mount ${util-linux}/bin/mount
'';
preInstall = "mkdir -p $out/sbin";
src = fetchurl {

Loading…
Cancel
Save