Skip to content

Instantly share code, notes, and snippets.

@smolck
Created February 29, 2020 16:49
Show Gist options
  • Save smolck/f1b2d71181b45c62398860473c8b44c2 to your computer and use it in GitHub Desktop.
Save smolck/f1b2d71181b45c62398860473c8b44c2 to your computer and use it in GitHub Desktop.
Not working Remacs derivation
{ stdenv, pkgs, fetchFromGitHub, ... }:
stdenv.mkDerivation {
name = "remacs";
version = "master";
buildInputs =
with pkgs;
let rust-nightly = pkgs.latest.rustChannels.nightly.rust; in
[
rust-nightly
automake
clang
llvmPackages.libclang
texinfo
libjpeg
libtiff
libungif
xorg.libXpm
gtk3-x11
gnutls
ncurses5
libxml2
xorg.libXt
];
src = fetchFromGitHub {
owner = "remacs";
repo = "remacs";
rev = "master";
sha256 = "02ckmr6l7r4k8413sv6ri8pmfky0xqizwl68fzjgvn0m7mdlqqxv";
};
buildPhase = ''
./autogen.sh
./configure.sh
make
'';
meta = {
homepage = "https://github.com/remacs/remacs";
description = "A community drive port of Emacs to Rust";
license = stdenv.lib.licenses.gpl3;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment