Skip to content

Commit

Permalink
Remove outdated patches
Browse files Browse the repository at this point in the history
  • Loading branch information
kip93 committed Jul 20, 2024
1 parent 839f148 commit 63d0754
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions overlays/patches/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of Nix++.
# Copyright (C) 2023 Leandro Emmanuel Reina Kiperman.
# Copyright (C) 2023-2024 Leandro Emmanuel Reina Kiperman.
#
# Nix++ is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
Expand All @@ -15,19 +15,8 @@

{ self, ... } @ _inputs:
final: prev: with final; {
testers = prev.testers // {
runNixOSTest = args:
let test = prev.testers.runNixOSTest args; in test // {
meta = (test.meta or { }) // {
# NixOS test are Linux exclusive (nixpkgs#193336)
platforms = test.meta.platforms or self.lib.supportedSystems'.linux;
};
};
};

jre_headless = prev.jre_headless.overrideAttrs (
{ configureFlags ? [ ]
, meta ? { platforms = self.lib.supportedSystems; }
, nativeBuildInputs ? [ ]
, ...
}: {
Expand All @@ -41,16 +30,6 @@ final: prev: with final; {
"--with-build-jdk=${buildPackages.jre_headless.home}"
])
;
# Disable on i686 machines.
meta = meta // {
platforms = lib.optionals
(!lib.hasPrefix "i686-" buildPackages.system)
(builtins.filter
(x: !lib.hasPrefix "i686-" x)
meta.platforms
)
;
};
}
);
# Apply jre fixes to LanguageTool.
Expand Down

0 comments on commit 63d0754

Please sign in to comment.