-
-
Save ankhers/dab24c0c34d13246ffc4f8c4007f3eb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation }: | |
mkDerivation rec { | |
version = "custom"; | |
rev = "e2c78e8ba948739768a335999e35a06d5eb5ad4b"; | |
sha256 = "0fl49cznksscb1m0n87h3bpfknxg5hxvwgny69r5f7lgvlzzd3k3"; | |
minimumOTPVersion = "20"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
lib = pkgs.callPackage <nixpkgs/pkgs/development/beam-modules/lib.nix> {}; | |
elixir = lib.callElixir ./custom_elixir.nix { inherit rebar erlang; }; | |
in | |
stdenv.mkDerivation { | |
name = "libfoo-1.2.3"; | |
src = ./.; | |
buildInputs = [ elixir ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment