spidermonkey: remove spidermonkey_38 -> spidermonkey alias

This removes the spidermonkey alias and renames it in the packages still
using it

Not sure if we need it in aliases.nix since just about nothing depends
on it anymore

Additionally considering removal should be a good choice, it's at least
insecure so it should get tagged as such
This commit is contained in:
Maciej Krüger
2020-09-30 16:00:56 +02:00
parent 7779eb31c5
commit 946369adbd
5 changed files with 12 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, curl, recode, spidermonkey }:
{ stdenv, fetchFromGitHub, makeWrapper, curl, recode, spidermonkey_38 }:
stdenv.mkDerivation rec {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
make PREFIX="$out" install
for fn in plow{del,down,list,mod,probe,up}; do
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl recode spidermonkey ]}"
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl recode spidermonkey_38 ]}"
done
'';

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, spidermonkey }:
{ stdenv, fetchFromGitHub, makeWrapper, spidermonkey_38 }:
stdenv.mkDerivation {
pname = "jsawk";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
mkdir -p $out/bin
cp $src/jsawk $out/bin/
wrapProgram $out/bin/jsawk \
--prefix PATH : "${spidermonkey}/bin"
--prefix PATH : "${spidermonkey_38}/bin"
'';
meta = {