call the executable inkscape. whatever
This commit is contained in:
parent
832d2fe674
commit
875da4301a
2 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
{ outputs = { self, nixpkgs }:
|
{ outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
i-w = nixpkgs.legacyPackages.${system}.callPackage ./inkscape-x11.nix { };
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
i-w = pkgs.callPackage ./inkscape-xwayland.nix { };
|
||||||
in {
|
in {
|
||||||
packages.${system}.inkscape-xwayland = i-w;
|
packages.${system}.inkscape-xwayland = i-w;
|
||||||
apps.${system}.default =
|
apps.${system}.default = { type = "app"; program = "${i-w}/bin/inkscape"; };
|
||||||
{ type = "app"; program = "${i-w}/bin/inkscape-xwayland"; };
|
|
||||||
overlays.default = final: prev: { inkscape-xwayland = i-w; };
|
overlays.default = final: prev: { inkscape-xwayland = i-w; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
dontUnpack = true; dontFixup = true;
|
dontUnpack = true; dontFixup = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ${script} $out/bin/inkscape-xwayland
|
cp ${script} $out/bin/inkscape
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue