git.iko.soy/typeable/nixpkgs
on master help sign in
ape: don't inherit lexicon from pkgs scope
commit90e5082576627225d6ae16f6737f3c66a3267511 authorJonathan Ringer <jonringer117@gmail.com> dateSun 4 Oct 2020, 09:00 (6 years ago) parent2523024
2 files changed+4−4
pkgs/applications/misc/ape/apeclex.nix+1−1 pkgs/applications/misc/ape/default.nix+3−3
pkgs/applications/misc/ape/apeclex.nix+1−1
@@ -2,7 +2,7 @@
22
33callPackage ./. {
44 pname = "ape-clex";
5− lexicon = "${attemptoClex}/clex_lexicon.pl";
5+ lexiconPath = "${attemptoClex}/clex_lexicon.pl";
66 description = "Parser for Attempto Controlled English (ACE) with a large lexicon (~100,000 entries)";
77 license = with stdenv.lib; [ licenses.lgpl3 licenses.gpl3 ];
88}
pkgs/applications/misc/ape/default.nix+3−3
@@ -1,10 +1,10 @@
11{ stdenv, swiProlog, makeWrapper,
22 fetchFromGitHub,
3− lexicon ? "prolog/lexicon/clex_lexicon.pl",
3+ lexiconPath ? "prolog/lexicon/clex_lexicon.pl",
44 pname ? "ape",
55 description ? "Parser for Attempto Controlled English (ACE)",
66 license ? with stdenv.lib; licenses.lgpl3
7− }:
7+}:
88
99stdenv.mkDerivation rec {
1010 inherit pname;
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 patchPhase = ''
2323 # We move the file first to avoid "same file" error in the default case
24− cp ${lexicon} new_lexicon.pl
24+ cp ${lexiconPath} new_lexicon.pl
2525 rm prolog/lexicon/clex_lexicon.pl
2626 cp new_lexicon.pl prolog/lexicon/clex_lexicon.pl
2727 '';