mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:26:34 +01:00
Add prismlauncher patch
This commit is contained in:
parent
ecb59d2219
commit
05cf0317fd
2 changed files with 26 additions and 4 deletions
19
flake.lock
19
flake.lock
|
@ -154,11 +154,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1684525565,
|
||||
"narHash": "sha256-mkvY7B1GaiPt56oDG1qgqp5WfHKVIOaDuBej7TjrGoU=",
|
||||
"lastModified": 1684527793,
|
||||
"narHash": "sha256-OqbLip5qIN5NJa3mY41xaQWyynUUtggqBWlYt2aXv24=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "86569578d5298fedcd6ccc6b18ecde0f67a9d0c7",
|
||||
"rev": "8b186ad7a99398036bbc01b7ea67fc03f69fc69e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -195,6 +195,18 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"prism-patch": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-zsL8t7BrbzdVkr8ApYzQcYgRm3WWTcF2SQlAmr5ISBk=",
|
||||
"type": "file",
|
||||
"url": "https://patch-diff.githubusercontent.com/raw/PrismLauncher/PrismLauncher/pull/907.patch"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://patch-diff.githubusercontent.com/raw/PrismLauncher/PrismLauncher/pull/907.patch"
|
||||
}
|
||||
},
|
||||
"prismlauncher": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
|
@ -225,6 +237,7 @@
|
|||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nur": "nur",
|
||||
"prism-patch": "prism-patch",
|
||||
"prismlauncher": "prismlauncher",
|
||||
"tela-icon-theme": "tela-icon-theme"
|
||||
}
|
||||
|
|
11
flake.nix
11
flake.nix
|
@ -14,7 +14,11 @@
|
|||
};
|
||||
nixos-hardware.url = github:NixOS/nixos-hardware;
|
||||
tela-icon-theme = {
|
||||
url = "github:vinceliuice/Tela-icon-theme";
|
||||
url = github:vinceliuice/Tela-icon-theme;
|
||||
flake = false;
|
||||
};
|
||||
prism-patch = {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/PrismLauncher/PrismLauncher/pull/907.patch";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
@ -60,6 +64,11 @@
|
|||
tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: {
|
||||
src = inputs.tela-icon-theme;
|
||||
});
|
||||
prismlauncher = super.prismlauncher.overrideAttrs (old: {
|
||||
patches = (old.patches or []) ++ [
|
||||
inputs.prism-patch
|
||||
];
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue