Skip to content

Commit 0844c32

Browse files
authored
filius,ipfetch,starfetch: fix use of deprecated command options (#435131)
2 parents b718b06 + c4d9e6d commit 0844c32

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkgs/by-name/fi/filius/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ maven.buildMavenPackage rec {
2828

2929
postPatch = ''
3030
substituteInPlace src/deb/filius.desktop \
31-
--replace 'Exec=/usr/share/filius/filius.sh' 'Exec=filius'
31+
--replace-fail 'Exec=/usr/share/filius/filius.sh' 'Exec=filius'
3232
'';
3333

3434
nativeBuildInputs = [

pkgs/by-name/ip/ipfetch/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727
postPatch = ''
2828
patchShebangs --host ipfetch
2929
# Not only does `/usr` have to be replaced but also `/flags` needs to be added because with Nix the script is broken without this. The `/flags` is somehow not needed if you install via the install script in the source repository.
30-
substituteInPlace ./ipfetch --replace /usr/share/ipfetch $out/usr/share/ipfetch/flags
30+
substituteInPlace ./ipfetch --replace-fail /usr/share/ipfetch $out/usr/share/ipfetch/flags
3131
'';
3232
installPhase = ''
3333
mkdir -p $out/bin

pkgs/by-name/st/starfetch/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
1616
};
1717

1818
postPatch = ''
19-
substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
19+
substituteInPlace src/starfetch.cpp --replace-fail /usr/local/ $out/
2020
''
2121
+ lib.optionalString stdenv.cc.isClang ''
22-
substituteInPlace makefile --replace g++ clang++
22+
substituteInPlace makefile --replace-warn g++ clang++
2323
'';
2424

2525
installPhase = ''

0 commit comments

Comments
 (0)