mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
erlang: fix nix-env version confusion
This commit is contained in:
parent
5086684ead
commit
1cbb0feae5
|
@ -84,9 +84,13 @@ let
|
|||
|
||||
in
|
||||
stdenv.mkDerivation ({
|
||||
name = "${baseName}-${version}"
|
||||
+ optionalString javacSupport "-javac"
|
||||
+ optionalString odbcSupport "-odbc";
|
||||
# name is used instead of pname to
|
||||
# - not have to pass pnames as argument
|
||||
# - have a separate pname for erlang (main module)
|
||||
name = "${baseName}"
|
||||
+ optionalString javacSupport "_javac"
|
||||
+ optionalString odbcSupport "_odbc"
|
||||
+ "-${version}";
|
||||
|
||||
inherit src version;
|
||||
|
||||
|
|
Loading…
Reference in a new issue