diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-10-26 15:57:13 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-10-26 20:47:41 -0300 |
commit | 65e85478f3c87fbf17f9e119bf2b120687965009 (patch) | |
tree | 38b95952daf0035d7413bbbc7f4f44990955bff9 /pkgs/desktops/arcan/arcan/default.nix | |
parent | cf87b5af96f22064b61656ea1e94158dcf260812 (diff) | |
download | nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar.gz nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar.bz2 nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar.lz nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar.xz nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.tar.zst nixpkgs-65e85478f3c87fbf17f9e119bf2b120687965009.zip |
arcan.arcan: 0.6.1pre1+unstable=2021-09-05 -> 0.6.1pre1+unstable=2021-10-16
Diffstat (limited to 'pkgs/desktops/arcan/arcan/default.nix')
-rw-r--r-- | pkgs/desktops/arcan/arcan/default.nix | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/desktops/arcan/arcan/default.nix b/pkgs/desktops/arcan/arcan/default.nix index a0d037725ed..48d4f9a5481 100644 --- a/pkgs/desktops/arcan/arcan/default.nix +++ b/pkgs/desktops/arcan/arcan/default.nix @@ -36,7 +36,7 @@ , xcbutil , xcbutilwm , xz -, buildManPages ? true, ruby +, buildManpages ? true, ruby }: let @@ -52,21 +52,21 @@ let in stdenv.mkDerivation rec { pname = "arcan"; - version = "0.6.1pre1+unstable=2021-09-05"; + version = "0.6.1pre1+unstable=2021-10-16"; src = fetchFromGitHub { owner = "letoram"; repo = "arcan"; - rev = "525521177e4458199d7a57f8e6d37d41c04a988d"; - hash = "sha256-RsvTHPIvF9TeOfjPGcArptIiF9g42BfZkVMCbjJcXnE="; + rev = "e0182b944152fbcb49f5c16932d38c05a9fb2680"; + hash = "sha256-4FodFuO51ehvyjH4YaF/xBY9dwA6cP/e6/BvEsH4w7U="; }; postUnpack = '' - ( - cd $sourceRoot/external/git/ - cp -a ${letoram-openal-src}/ openal/ - chmod --recursive 744 openal/ - ) + pushd . + cd $sourceRoot/external/git/ + cp -a ${letoram-openal-src}/ openal/ + chmod --recursive 744 openal/ + popd ''; # TODO: work with upstream in order to get rid of these hardcoded paths @@ -82,7 +82,7 @@ stdenv.mkDerivation rec { cmake makeWrapper pkg-config - ] ++ lib.optionals buildManPages [ + ] ++ lib.optionals buildManpages [ ruby ]; @@ -123,8 +123,11 @@ stdenv.mkDerivation rec { # INFO: According to the source code, the manpages need to be generated before # the configure phase - preConfigure = lib.optionalString buildManPages '' - (cd doc; ruby docgen.rb mangen) + preConfigure = lib.optionalString buildManpages '' + pushd . + cd doc + ruby docgen.rb mangen + popd ''; cmakeFlags = [ |