tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xemu: change self to finalAttrs
Anderson Torres
2 years ago
8577d50d
ecde7e47
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
xemu
default.nix
+4
-4
pkgs/applications/emulators/xemu/default.nix
···
25
25
, wrapGAppsHook
26
26
}:
27
27
28
28
-
stdenv.mkDerivation (self: {
28
28
+
stdenv.mkDerivation (finalAttrs: {
29
29
pname = "xemu";
30
30
version = "0.7.85";
31
31
32
32
src = fetchFromGitHub {
33
33
owner = "xemu-project";
34
34
repo = "xemu";
35
35
-
rev = "v${self.version}";
35
35
+
rev = "v${finalAttrs.version}";
36
36
hash = "sha256-sVUkB2KegdKlHlqMvSwB1nLdJGun2x2x9HxtNHnpp1s=";
37
37
fetchSubmodules = true;
38
38
};
···
94
94
# to run `XEMU_COMMIT=$(cat XEMU_COMMIT)` (and similar)
95
95
branch = "master";
96
96
commit = "d8fa50e524c22f85ecb2e43108fd6a5501744351";
97
97
-
inherit (self) version;
97
97
+
inherit (finalAttrs) version;
98
98
in ''
99
99
patchShebangs .
100
100
configureFlagsArray+=("--extra-cflags=-DXBOX=1 -Wno-error=redundant-decls")
···
133
133
Xbox game console, enabling people to play their original Xbox games on
134
134
Windows, macOS, and Linux systems.
135
135
'';
136
136
-
changelog = "https://github.com/xemu-project/xemu/releases/tag/v${self.version}";
136
136
+
changelog = "https://github.com/xemu-project/xemu/releases/tag/v${finalAttrs.version}";
137
137
license = lib.licenses.gpl2Plus;
138
138
maintainers = with lib.maintainers; [ AndersonTorres genericnerdyusername ];
139
139
platforms = with lib.platforms; linux;