add custom openmw
This commit is contained in:
parent
9ab5a2ce66
commit
59c15a65ad
4 changed files with 42 additions and 0 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -493,6 +493,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"openmw": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1768342692,
|
||||||
|
"narHash": "sha256-XLlg+JKE7mvbytjPq4iue9JTVA/Uv2bn1mYS1OEIWFY=",
|
||||||
|
"owner": "OpenMW",
|
||||||
|
"repo": "openmw",
|
||||||
|
"rev": "3ac8eb07876e1d0a5fe52baca70d0b972cf1e33c",
|
||||||
|
"type": "gitlab"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "OpenMW",
|
||||||
|
"repo": "openmw",
|
||||||
|
"type": "gitlab"
|
||||||
|
}
|
||||||
|
},
|
||||||
"plasma-manager": {
|
"plasma-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": [
|
"home-manager": [
|
||||||
|
|
@ -529,6 +545,7 @@
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"noctalia": "noctalia",
|
"noctalia": "noctalia",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
|
"openmw": "openmw",
|
||||||
"plasma-manager": "plasma-manager",
|
"plasma-manager": "plasma-manager",
|
||||||
"spicetify-nix": "spicetify-nix"
|
"spicetify-nix": "spicetify-nix"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
flake.nix
13
flake.nix
|
|
@ -56,6 +56,11 @@
|
||||||
url = "github:nix-community/nixos-apple-silicon";
|
url = "github:nix-community/nixos-apple-silicon";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
openmw = {
|
||||||
|
url = "gitlab:OpenMW/openmw";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -72,6 +77,7 @@
|
||||||
nur,
|
nur,
|
||||||
nixvim,
|
nixvim,
|
||||||
apple-silicon,
|
apple-silicon,
|
||||||
|
openmw,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# All systems we want to support for the generic VM
|
# All systems we want to support for the generic VM
|
||||||
|
|
@ -112,6 +118,13 @@
|
||||||
noctalia.overlays.default
|
noctalia.overlays.default
|
||||||
nur.overlays.default
|
nur.overlays.default
|
||||||
(import ./packages/overlay.nix)
|
(import ./packages/overlay.nix)
|
||||||
|
(final: prev: {
|
||||||
|
openmw-git = {
|
||||||
|
src = openmw;
|
||||||
|
version = openmw.shortRev or openmw.rev or "unknown";
|
||||||
|
date = openmw.lastModifiedDate or "unknown";
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
||||||
8
packages/openmw/default.nix
Normal file
8
packages/openmw/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
openmw,
|
||||||
|
openmw-git,
|
||||||
|
}:
|
||||||
|
openmw.overrideAttrs (oldAttrs: {
|
||||||
|
version = "unstable-${openmw-git.date}-${openmw-git.version}";
|
||||||
|
src = openmw-git.src;
|
||||||
|
})
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
spotify-webapp = final.callPackage ./spotify-webapp {};
|
spotify-webapp = final.callPackage ./spotify-webapp {};
|
||||||
altserver-linux = final.callPackage ./altserver {};
|
altserver-linux = final.callPackage ./altserver {};
|
||||||
|
openmw = final.callPackage ./openmw {
|
||||||
|
openmw = prev.openmw;
|
||||||
|
inherit (final) openmw-git;
|
||||||
|
};
|
||||||
|
|
||||||
linuxPackages_asahi = prev.linuxPackages_asahi.override {
|
linuxPackages_asahi = prev.linuxPackages_asahi.override {
|
||||||
_kernelPatches = [
|
_kernelPatches = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue