Fix double wrapping
This commit is contained in:
@@ -56,16 +56,13 @@ stdenv.mkDerivation rec {
|
||||
systemd
|
||||
];
|
||||
|
||||
wrapperPath = lib.makeBinPath ([
|
||||
dmidecode
|
||||
]);
|
||||
|
||||
postFixup = ''
|
||||
# Ensure all dependencies are in PATH
|
||||
wrapProgram $out/bin/resources \
|
||||
--prefix PATH : "${wrapperPath}"
|
||||
postPatch = ''
|
||||
substituteInPlace src/utils/memory.rs \
|
||||
--replace '"dmidecode"' '"${dmidecode}/bin/dmidecode"'
|
||||
'';
|
||||
|
||||
mesonFlags = [ "-Dprofile=default" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/nokyan/resources";
|
||||
description = "Monitor your system resources and processes";
|
||||
|
||||
Reference in New Issue
Block a user