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 }: { 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; };
}; };
} }

View file

@ -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
''; '';
} }