home/editor: use runCommand

This commit is contained in:
Max Headroom 2022-10-15 11:05:56 +02:00
parent 28d41cfdf3
commit ac2afe3577

View file

@ -30,12 +30,12 @@ let
mkTOML = name: value: let
json = pkgs.writeText "helix-${name}.json" (builtins.toJSON value);
in pkgs.runCommandNoCC "helix-${name}.toml" {} "${pkgs.remarshal}/bin/remarshal --if json --of toml -i ${json} -o $out";
in pkgs.runCommand "helix-${name}.toml" {} "${pkgs.remarshal}/bin/remarshal --if json --of toml -i ${json} -o $out";
path = lib.makeBinPath [ clipboardProvider ];
# weird double-wrapping because nix-cargo-integration isn't overridable
finalPackage = pkgs.runCommandNoCC package.name {
finalPackage = pkgs.runCommand package.name {
nativeBuildInputs = [
pkgs.makeWrapper
];