diff options
author | Riley Inman <rileyminman@gmail.com> | 2019-09-23 15:08:54 -0400 |
---|---|---|
committer | Riley Inman <rileyminman@gmail.com> | 2019-09-23 15:08:54 -0400 |
commit | c847da5b8b8ae4dc6a7ea08957f07382c1db38a3 (patch) | |
tree | 71e2cd112d058279048d21b6d6bfb765efb5b2ea /pkgs/data | |
parent | 64accf2edf17efc6854792524557edc4f0f59b5f (diff) |
iosevka: Fix rev typo, link node_modules instead of copy
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/iosevka/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/data/fonts/iosevka/default.nix b/pkgs/data/fonts/iosevka/default.nix index f8af10456525e..274c4b188b5fb 100644 --- a/pkgs/data/fonts/iosevka/default.nix +++ b/pkgs/data/fonts/iosevka/default.nix @@ -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 ''; |