mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
iosevka: Fix rev typo, link node_modules instead of copy
This commit is contained in:
parent
64accf2edf
commit
c847da5b8b
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "be5invis";
|
||||
repo = "Iosevka";
|
||||
rev = version;
|
||||
rev = "v${version}";
|
||||
sha256 = "1qnbxhx9wvij9zia226mc3sy8j7bfsw5v1cvxvsbbwjskwqdamvv";
|
||||
};
|
||||
|
||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
echo -e "\n" >> parameters.toml
|
||||
remarshal -i "$extraParametersJSONPath" -if json -of toml >> parameters.toml
|
||||
''}
|
||||
cp -r ${nodePackages."iosevka-build-deps-../../data/fonts/iosevka"}/lib/node_modules/iosevka-build-deps/* ./
|
||||
ln -s ${nodePackages."iosevka-build-deps-../../data/fonts/iosevka"}/lib/node_modules/iosevka-build-deps/node_modules .
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue