Skip to content

Commit

Permalink
drl: disable everything except test package
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys-T committed Oct 31, 2024
1 parent c332c17 commit 4f87c61
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ in {
};
});

drl-hq = callPackage ./pkgs/drl { drl-audio = self.drl-audio-hq; };
drl-lq = callPackage ./pkgs/drl { drl-audio = self.drl-audio-lq; };
drl = self.drl-hq;
drl-unwrapped = callPackage ./pkgs/drl/unwrapped.nix {};
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;
# drl-hq = callPackage ./pkgs/drl { drl-audio = self.drl-audio-hq; };
# drl-lq = callPackage ./pkgs/drl { drl-audio = self.drl-audio-lq; };
# drl = self.drl-hq;
# drl-unwrapped = callPackage ./pkgs/drl/unwrapped.nix {};
# 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";
Expand Down Expand Up @@ -158,20 +158,20 @@ in {
doCheck = true;
installPhase = "install -Dm755 hello $out/bin/hello";
}) {};
env = self.drl-unwrapped.overrideAttrs (old: {
pname = "drl-env-test";
buildPhase = ''
runHook preBuild
:
runHook postBuild
'';
installPhase = ''
runHook preInstall
env > "$out"
runHook postInstall
'';
meta = {};
});
# env = self.drl-unwrapped.overrideAttrs (old: {
# pname = "drl-env-test";
# buildPhase = ''
# runHook preBuild
# :
# runHook postBuild
# '';
# installPhase = ''
# runHook preInstall
# env > "$out"
# runHook postInstall
# '';
# meta = {};
# });
});

# Can't just pass `-L` to `nix-build-uncached`: it ends up being passed to both
Expand Down

0 comments on commit 4f87c61

Please sign in to comment.