Merge pull request #54892 from grahamc/elixer-maintainer-ping

elixir: remember where a package is defined
This commit is contained in:
Graham Christensen 2019-01-29 12:54:33 -05:00 committed by GitHub
commit fb7ffda29b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
, sha256 ? null
, rev ? "v${version}"
, src ? fetchFromGitHub { inherit rev sha256; owner = "elixir-lang"; repo = "elixir"; }
}:
} @ args:
let
inherit (stdenv.lib) getVersion versionAtLeast;
@ -62,6 +62,7 @@ in
--replace "/usr/bin/env elixir" "${coreutils}/bin/env elixir"
'';
pos = builtins.unsafeGetAttrPos "sha256" args;
meta = with stdenv.lib; {
homepage = https://elixir-lang.org/;
description = "A functional, meta-programming aware language built on top of the Erlang VM";