Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kakounePlugins.kak-idris: init at 2020-12-29 #108409

Closed
wants to merge 1 commit into from

Conversation

malte-v
Copy link
Contributor

@malte-v malte-v commented Jan 4, 2021

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@hrhino hrhino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, there seems to be a file pkgs/applications/editors/kakoune/plugins/generated.nix containing such information, and it's made from a sibling kakoune-plugin-names file; the comment in default.nix implies that you can add the patchPhase via overrides.nix, as is done for several other packages.

Could this be adapted to use that model?

{ stdenv, fetchFromGitHub, idris2, nodejs }:
stdenv.mkDerivation {
name = "kak-idris";
version = "2020-12-29";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think unstable- prefix is used for non-released versions

};

patchPhase = ''
sed -i 's \bnode\b ${nodejs}/bin/node g' idris.kak
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently | is preferred as the alternative sed-separator if / is unworkable...

@malte-v
Copy link
Contributor Author

malte-v commented Jun 30, 2021

I'm not interested in merging this anymore. If you want to have this merged, please open a new PR and make yourself the maintainer.

@malte-v malte-v closed this Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants