rgb again maybe this time without weird shit
This commit is contained in:
parent
e7253ef4a4
commit
e10fd7d47b
13 changed files with 168 additions and 36 deletions
|
@ -1,10 +1,22 @@
|
|||
{ pkgs, ... }: let
|
||||
{ pkgs, wine ? pkgs.wine, ... }: let
|
||||
wrapped = pkgs.writeShellScriptBin "mspaint" ''
|
||||
${pkgs.wine}/bin/wine ${./mspaint.exe}
|
||||
${wine}/bin/wine ${./bin}/mspaint.exe
|
||||
'';
|
||||
in pkgs.makeDesktopItem {
|
||||
name = "mspaint";
|
||||
desktopName = "mspaint";
|
||||
type = "Application";
|
||||
exec = "${wrapped}/bin/mspaint";
|
||||
}
|
||||
desktopItem = pkgs.makeDesktopItem {
|
||||
name = "mspaint";
|
||||
desktopName = "mspaint";
|
||||
type = "Application";
|
||||
categories = [ "Graphics" ];
|
||||
exec = "${wrapped}/bin/mspaint";
|
||||
};
|
||||
in pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "mspaint";
|
||||
version = "0.0.0";
|
||||
src = wrapped;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.copyDesktopItems
|
||||
];
|
||||
|
||||
desktopItems = [ desktopItem ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue