Skip to content

Commit 1b70c4e

Browse files
committed
build: fix v1.2.0
1 parent 3eb01b4 commit 1b70c4e

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
pimalaya.mkDefault (
88
{
99
src = ./.;
10-
version = "1.1.0";
10+
version = "1.2.0";
1111
mkPackage = (
1212
{
1313
lib,
@@ -33,7 +33,8 @@ pimalaya.mkDefault (
3333
exe = stdenv.hostPlatform.extensions.executable;
3434
in
3535
lib.optionalString (lib.hasInfix "wine" emulator) ''
36-
export WINEPREFIX=`mktemp -d`
36+
export WINEPREFIX="''${WINEPREFIX:-$(mktemp -d)}"
37+
mkdir -p $WINEPREFIX
3738
''
3839
+ ''
3940
mkdir -p $out/share/{applications,completions,man}

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shell.nix

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{
2+
nixpkgs ? <nixpkgs>,
3+
system ? builtins.currentSystem,
4+
pkgs ? import nixpkgs { inherit system; },
25
pimalaya ? import (fetchTarball "https://github.com/pimalaya/nix/archive/master.tar.gz"),
3-
...
6+
fenix ? import (fetchTarball "https://github.com/nix-community/fenix/archive/monthly.tar.gz") { },
47
}:
58

69
pimalaya.mkShell {
7-
extraBuildInputs = "nixd,nixfmt-rfc-style,git-cliff,cargo-deny";
10+
inherit
11+
nixpkgs
12+
system
13+
pkgs
14+
fenix
15+
;
816
}

0 commit comments

Comments
 (0)