Loading pkgs/shells/zsh/zimfw/default.nix +2 −13 Original line number Diff line number Diff line Loading @@ -2,14 +2,14 @@ stdenv.mkDerivation rec { pname = "zimfw"; version = "1.14.0"; version = "1.15.0"; src = fetchFromGitHub { owner = "zimfw"; repo = "zimfw"; rev = "v${version}"; ## zim only needs this one file to be installed. sparseCheckout = [ "zimfw.zsh" ]; hash = "sha256-JBMrgUMGsvjYasEHJsZ0jZAHmrN3Z0d8T8agI9FiEPs="; hash = "sha256-8GnxUhBvMy7fhDILDKYEf/9Mhgzz7suaiZ5elRZmT0o="; }; strictDeps = true; dontConfigure = true; Loading @@ -24,17 +24,6 @@ stdenv.mkDerivation rec { runHook postInstall ''; ## zim automates the downloading of any plugins you specify in the `.zimrc` ## file. To do that with Nix, you'll need $ZIM_HOME to be writable. ## `~/.cache/zim` is a good place for that. The problem is that zim also ## looks for `zimfw.zsh` there, so we're going to tell it here to look for ## the `zimfw.zsh` where we currently are. postFixup = '' substituteInPlace $out/zimfw.zsh \ --replace "\''${ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" \ --replace "\''${(q-)ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" ''; meta = with lib; { description = "The Zsh configuration framework with blazing speed and modular extensions"; Loading Loading
pkgs/shells/zsh/zimfw/default.nix +2 −13 Original line number Diff line number Diff line Loading @@ -2,14 +2,14 @@ stdenv.mkDerivation rec { pname = "zimfw"; version = "1.14.0"; version = "1.15.0"; src = fetchFromGitHub { owner = "zimfw"; repo = "zimfw"; rev = "v${version}"; ## zim only needs this one file to be installed. sparseCheckout = [ "zimfw.zsh" ]; hash = "sha256-JBMrgUMGsvjYasEHJsZ0jZAHmrN3Z0d8T8agI9FiEPs="; hash = "sha256-8GnxUhBvMy7fhDILDKYEf/9Mhgzz7suaiZ5elRZmT0o="; }; strictDeps = true; dontConfigure = true; Loading @@ -24,17 +24,6 @@ stdenv.mkDerivation rec { runHook postInstall ''; ## zim automates the downloading of any plugins you specify in the `.zimrc` ## file. To do that with Nix, you'll need $ZIM_HOME to be writable. ## `~/.cache/zim` is a good place for that. The problem is that zim also ## looks for `zimfw.zsh` there, so we're going to tell it here to look for ## the `zimfw.zsh` where we currently are. postFixup = '' substituteInPlace $out/zimfw.zsh \ --replace "\''${ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" \ --replace "\''${(q-)ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" ''; meta = with lib; { description = "The Zsh configuration framework with blazing speed and modular extensions"; Loading