Compare commits
No commits in common. "875da4301a40bbf2f8a5951d510cc2556ed5b9ce" and "6ded4bb6e9f73c0a1e6f06b4ae7433dd7d161e68" have entirely different histories.
875da4301a
...
6ded4bb6e9
2 changed files with 4 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
||||||
{ outputs = { self, nixpkgs }:
|
{ outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
i-w = nixpkgs.legacyPackages.${system}.callPackage ./inkscape-x11.nix { };
|
||||||
i-w = pkgs.callPackage ./inkscape-xwayland.nix { };
|
|
||||||
in {
|
in {
|
||||||
packages.${system}.inkscape-xwayland = i-w;
|
packages.${system}.inkscape-xwayland = i-w;
|
||||||
apps.${system}.default = { type = "app"; program = "${i-w}/bin/inkscape"; };
|
apps.${system}.default =
|
||||||
overlays.default = final: prev: { inkscape-xwayland = i-w; };
|
{ type = "app"; program = "${i-w}/bin/inkscape-xwayland"; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
cp ${script} $out/bin/inkscape-xwayland
|
||||||
'';
|
'';
|
||||||
}
|
}
|
Reference in a new issue