From 2d36d421186404837b94bf6055379b4853f5b132 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:42:33 -0400 Subject: [PATCH] drl: disable broken Linux build; add debug stuff --- default.nix | 17 +++++++++++++++++ pkgs/drl/unwrapped.nix | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 9ed60a1..fa55ff5 100644 --- a/default.nix +++ b/default.nix @@ -124,6 +124,23 @@ in { drl-audio-hq = callPackage ./pkgs/drl/audio.nix { audioQuality = "hq"; }; drl-audio-lq = callPackage ./pkgs/drl/audio.nix { audioQuality = "lq"; }; drl-audio = self.drl-audio-hq; + _ciOnly.drl-dev = pkgs.lib.optionalAttrs (pkgs.hostPlatform.system == "x86_64-linux") (pkgs.lib.recurseIntoAttrs { + makewad = self.drl-unwrapped.overrideAttrs (old: { + pname = "drl-makewad-test"; + buildPhase = '' + runHook preBuild + mkdir tmp + lua makefile.lua bin/makewad + runHook postBuild + ''; + installPhase = '' + runHook preInstall + install -D bin/makewad "$out"/bin/makewad + runHook postInstall + ''; + meta = {}; + }); + }); # Can't just pass `-L` to `nix-build-uncached`: it ends up being passed to both # old `nix-build` (which doesn't understand it) and new `nix build` (which does). diff --git a/pkgs/drl/unwrapped.nix b/pkgs/drl/unwrapped.nix index 42409f4..01790bf 100644 --- a/pkgs/drl/unwrapped.nix +++ b/pkgs/drl/unwrapped.nix @@ -77,7 +77,6 @@ in stdenv.mkDerivation rec { runHook preBuild mkdir tmp lua makefile.lua - ls -al bin runHook postBuild ''; installPhase = '' @@ -118,6 +117,7 @@ in stdenv.mkDerivation rec { # Music (according to ) cc-by-sa-40 ]; + badPlatforms = with lib.platforms; linux; maintainers = [maintainers.Rhys-T]; }; }