tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
latencytop: fix hardcoded path to /bin/mount
Fixes #171609.
Will Dietz
3 years ago
0d890670
8ca45baf
+8
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
latencytop
default.nix
+8
-2
pkgs/os-specific/linux/latencytop/default.nix
···
1
-
{ lib, stdenv, fetchurl, ncurses, glib, pkg-config, gtk2 }:
2
3
stdenv.mkDerivation rec {
4
pname = "latencytop";
5
version = "0.5";
6
7
-
patchPhase = "sed -i s,/usr,$out, Makefile";
0
0
0
0
0
0
8
preInstall = "mkdir -p $out/sbin";
9
10
src = fetchurl {
···
1
+
{ lib, stdenv, fetchurl, ncurses, glib, pkg-config, gtk2, util-linux }:
2
3
stdenv.mkDerivation rec {
4
pname = "latencytop";
5
version = "0.5";
6
7
+
postPatch = ''
8
+
sed -i s,/usr,$out, Makefile
9
+
10
+
# Fix #171609
11
+
substituteInPlace fsync.c --replace /bin/mount ${util-linux}/bin/mount
12
+
'';
13
+
14
preInstall = "mkdir -p $out/sbin";
15
16
src = fetchurl {