https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
9 lines
187 B
Nix
9 lines
187 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
mecab-base = import ./base.nix { inherit fetchurl; };
|
|
in
|
|
stdenv.mkDerivation (mecab-base // {
|
|
pname = "mecab-nodic";
|
|
version = mecab-base.version;
|
|
})
|