diff --git a/README.md b/README.md deleted file mode 100644 index f9960d6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# iup-nixos - -Derivation for IUP, a portable user interface library. https://iup.sourceforge.net/ \ No newline at end of file diff --git a/README.org b/README.org new file mode 100644 index 0000000..8d108b5 --- /dev/null +++ b/README.org @@ -0,0 +1,3 @@ +#+TITLE: IUP_Nix + +Nix derivation for IUP, a portable user interface library. https://iup.sourceforge.net/ diff --git a/cd.nix b/cd.nix index febccf7..f186af2 100644 --- a/cd.nix +++ b/cd.nix @@ -39,10 +39,6 @@ stdenv.mkDerivation rec { postPatch = '' sed -i 's/\bcdpdf\b//g' src/Makefile sed -i 's/\bcdluapdf5\b//g' src/Makefile - - substituteInPlace src/config.mak \ - --replace-fail "LIBS = " "LIBS = ftgl " \ - --replace-fail "LIBS += " "LIBS += ftgl " ''; makeFlags = [ diff --git a/iup.nix b/iup.nix index 7fafd24..cf47c29 100644 --- a/iup.nix +++ b/iup.nix @@ -78,7 +78,7 @@ includedir=${placeholder "out"}/include Name: IUP Description: A portable toolkit for building graphical user interfaces Version: ${version} -Libs: -L${placeholder "out"}/lib -liup -liupgl -liupcontrols -liup_plot -liupcd -liupim -liupimglib -liupole -liupweb +Libs: -L${placeholder "out"}/lib -liup -liupgl -liupglcontrols -liupcontrols -liup_plot -liup_mglplot -liupcd -liupim -liupimglib -liup_scintilla -liuptuio -liupweb Cflags: -I${placeholder "out"}/include Requires: cd im gtk+-3.0 glu ftgl '';