This repository has been archived on 2026-03-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nix-packages/pkgs/noita-entangled-worlds/default.nix
Torjus Håkestad 19f42d0fa3 fix deprecation warnings in awakened-poe-trade and noita-entangled-worlds
awakened-poe-trade: replace xorg.libXtst/libXt with libxtst/libxt
noita-entangled-worlds: remove redundant useFetchCargoVendor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 02:05:18 +01:00

64 lines
1.3 KiB
Nix

{
alsa-lib,
gtk3,
fetchFromGitHub,
rustPlatform,
openssl,
pkg-config,
jack2,
python3,
cmake,
libopus,
steam-run,
writeShellApplication,
lib,
}:
let
entangled = rustPlatform.buildRustPackage rec {
pname = "noita-entangled-worlds-proxy";
version = "v1.5.3";
src = fetchFromGitHub {
owner = "IntQuant";
repo = "noita_entangled_worlds";
rev = version;
hash = "sha256-frrpD0aWTeDbZYtp15R+quUUAZf7OvHlbSLtGJJtAqk=";
};
sourceRoot = "${src.name}/noita-proxy";
cargoHash = "sha256-TzUS6d6PopgGf2i1yVaXaXdzNrvfSz+Gv67BAtxYmb4=";
buildInputs = [
gtk3
openssl
jack2
alsa-lib
libopus
];
nativeBuildInputs = [
pkg-config
python3
cmake
];
preInstall = ''
mkdir -p $out/share/lib64/noita-proxy
cp -r ${src}/redist/libsteam_api.so $out/share/lib64/noita-proxy
'';
checkFlags = [
# reason for disabling test
"--skip=bookkeeping::releases::test::release_assets"
];
};
in
writeShellApplication {
name = "noita-proxy-${entangled.version}";
runtimeInputs = [
entangled
steam-run
];
text = ''
export LD_PRELOAD=${entangled}/share/lib64/noita-proxy/libsteam_api.so
exec steam-run "${entangled}/bin/noita-proxy" "$@"
'';
}