treewide: remove redundant quotes
This commit is contained in:
@@ -22,32 +22,32 @@ let
|
||||
|
||||
# determine the version number, there might be different ones per architecture
|
||||
version = {
|
||||
"x86_64-linux" = "19.3.0.0.0";
|
||||
"x86_64-darwin" = "18.1.0.0.0";
|
||||
}."${stdenv.hostPlatform.system}" or throwSystem;
|
||||
x86_64-linux = "19.3.0.0.0";
|
||||
x86_64-darwin = "18.1.0.0.0";
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
# hashes per component and architecture
|
||||
hashes = {
|
||||
"x86_64-linux" = {
|
||||
"basic" = "1yk4ng3a9ka1mzgfph9br6rwclagbgfvmg6kja11nl5dapxdzaxy";
|
||||
"sdk" = "115v1gqr0czy7dcf2idwxhc6ja5b0nind0mf1rn8iawgrw560l99";
|
||||
"sqlplus" = "0zj5h84ypv4n4678kfix6jih9yakb277l9hc0819iddc0a5slbi5";
|
||||
"odbc" = "1g1z6pdn76dp440fh49pm8ijfgjazx4cvxdi665fsr62h62xkvch";
|
||||
x86_64-linux = {
|
||||
basic = "1yk4ng3a9ka1mzgfph9br6rwclagbgfvmg6kja11nl5dapxdzaxy";
|
||||
sdk = "115v1gqr0czy7dcf2idwxhc6ja5b0nind0mf1rn8iawgrw560l99";
|
||||
sqlplus = "0zj5h84ypv4n4678kfix6jih9yakb277l9hc0819iddc0a5slbi5";
|
||||
odbc = "1g1z6pdn76dp440fh49pm8ijfgjazx4cvxdi665fsr62h62xkvch";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
"basic" = "fac3cdaaee7526f6c50ff167edb4ba7ab68efb763de24f65f63fb48cc1ba44c0";
|
||||
"sdk" = "98e6d797f1ce11e59b042b232f62380cec29ec7d5387b88a9e074b741c13e63a";
|
||||
"sqlplus" = "02e66dc52398fced75e7efcb6b4372afcf617f7d88344fb7f0f4bb2bed371f3b";
|
||||
"odbc" = "5d0cdd7f9dd2e27affbc9b36ef9fc48e329713ecd36905fdd089366e365ae8a2";
|
||||
x86_64-darwin = {
|
||||
basic = "fac3cdaaee7526f6c50ff167edb4ba7ab68efb763de24f65f63fb48cc1ba44c0";
|
||||
sdk = "98e6d797f1ce11e59b042b232f62380cec29ec7d5387b88a9e074b741c13e63a";
|
||||
sqlplus = "02e66dc52398fced75e7efcb6b4372afcf617f7d88344fb7f0f4bb2bed371f3b";
|
||||
odbc = "5d0cdd7f9dd2e27affbc9b36ef9fc48e329713ecd36905fdd089366e365ae8a2";
|
||||
};
|
||||
}."${stdenv.hostPlatform.system}" or throwSystem;
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
# rels per component and architecture, optional
|
||||
rels = {
|
||||
"x86_64-darwin" = {
|
||||
"sdk" = "2";
|
||||
x86_64-darwin = {
|
||||
sdk = "2";
|
||||
};
|
||||
}."${stdenv.hostPlatform.system}" or {};
|
||||
}.${stdenv.hostPlatform.system} or {};
|
||||
|
||||
# convert platform to oracle architecture names
|
||||
arch = {
|
||||
@@ -80,7 +80,7 @@ let
|
||||
|
||||
# assemble srcs
|
||||
srcs = map (component:
|
||||
(fetcher (srcFilename component arch version rels."${component}" or "") hashes."${component}" or ""))
|
||||
(fetcher (srcFilename component arch version rels.${component} or "") hashes.${component} or ""))
|
||||
components;
|
||||
|
||||
pname = "oracle-instantclient";
|
||||
|
||||
Reference in New Issue
Block a user