treewide: generalise for both mysql & mariadb
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, bash, makeWrapper, git, mariadb, diffutils, which, coreutils, procps, nettools }:
|
||||
{ stdenv, lib, fetchFromGitHub, bash, makeWrapper, git, mysql, diffutils, which, coreutils, procps, nettools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "snabb-${version}";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
|
||||
# We need a way to pass $PATH to the scripts
|
||||
sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mariadb which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
|
||||
sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mysql.client which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
|
||||
sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git coreutils diffutils nettools ]}' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user