fix wrong nixpkgs + wineboot arg

This commit is contained in:
Clément DOUIN 2024-11-27 10:48:13 +01:00
parent eca47cf2f7
commit 6a67d18683
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
3 changed files with 11 additions and 9 deletions

View file

@ -57,7 +57,7 @@ himalaya.overrideAttrs (drv: {
# NOTE: manual wineprefix update is somehow needed:
# <https://github.com/NixOS/nixpkgs/issues/321332>
postInstall = (drv.postInstall or "") + lib.optionalString hostPlatform.isWindows ''
${lib.getExe' wine "wineboot"} -u
${lib.getExe' wine "wineboot"} --init
'' + ''
mkdir -p $out/bin/share/{applications,completions,man,services}
cp assets/himalaya.desktop $out/bin/share/applications/

11
flake.lock generated
View file

@ -23,16 +23,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1732014248,
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
"owner": "nixos",
"lastModified": 1732539489,
"narHash": "sha256-EPstM4aUuClDkFdoyno1CSRZIfGdCfZKw/XzMlQB0NY=",
"owner": "soywod",
"repo": "nixpkgs",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"rev": "87b010196489f96e4acdcc804ed3d096476e46ad",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"owner": "soywod",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,9 +2,12 @@
description = "CLI to manage emails";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# TODO: nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# <https://github.com/NixOS/nixpkgs/pull/358989>
nixpkgs.url = "github:soywod/nixpkgs";
fenix = {
# https://github.com/nix-community/fenix/pull/145
# TODO: url = "github:nix-community/fenix";
# <https://github.com/nix-community/fenix/pull/145>
url = "github:soywod/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};