diff --git a/flake.nix b/flake.nix index 8e9b88f..d69b3bf 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,10 @@ { outputs = { self, nixpkgs }: let system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - i-w = pkgs.callPackage ./inkscape-xwayland.nix { }; + i-w = nixpkgs.legacyPackages.${system}.callPackage ./inkscape-x11.nix { }; in { packages.${system}.inkscape-xwayland = i-w; - apps.${system}.default = { type = "app"; program = "${i-w}/bin/inkscape"; }; - overlays.default = final: prev: { inkscape-xwayland = i-w; }; + apps.${system}.default = + { type = "app"; program = "${i-w}/bin/inkscape-xwayland"; }; }; } diff --git a/inkscape-xwayland.nix b/inkscape-x11.nix similarity index 90% rename from inkscape-xwayland.nix rename to inkscape-x11.nix index 49ba505..aa1d4bf 100644 --- a/inkscape-xwayland.nix +++ b/inkscape-x11.nix @@ -14,6 +14,6 @@ stdenv.mkDerivation rec { dontUnpack = true; dontFixup = true; installPhase = '' mkdir -p $out/bin - cp ${script} $out/bin/inkscape + cp ${script} $out/bin/inkscape-xwayland ''; }