Compare commits

...

3 commits

Author SHA1 Message Date
875da4301a call the executable inkscape. whatever 2024-12-13 18:52:47 +01:00
832d2fe674 rename package file 2024-12-13 18:50:33 +01:00
6e77a7c4e8 overlay 2024-12-13 18:47:36 +01:00
2 changed files with 5 additions and 4 deletions

View file

@ -1,10 +1,11 @@
{ outputs = { self, nixpkgs }:
let
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 {
packages.${system}.inkscape-xwayland = i-w;
apps.${system}.default =
{ type = "app"; program = "${i-w}/bin/inkscape-xwayland"; };
apps.${system}.default = { type = "app"; program = "${i-w}/bin/inkscape"; };
overlays.default = final: prev: { inkscape-xwayland = i-w; };
};
}

View file

@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
dontUnpack = true; dontFixup = true;
installPhase = ''
mkdir -p $out/bin
cp ${script} $out/bin/inkscape-xwayland
cp ${script} $out/bin/inkscape
'';
}