diff --git a/pkgs/development/haskell-modules/non-hackage-packages.nix b/pkgs/development/haskell-modules/non-hackage-packages.nix index 48aeab14d057..a9269a9e8a08 100644 --- a/pkgs/development/haskell-modules/non-hackage-packages.nix +++ b/pkgs/development/haskell-modules/non-hackage-packages.nix @@ -39,8 +39,6 @@ self: super: # https://github.com/spacchetti/spago/issues/512 spago = self.callPackage ../tools/purescript/spago/spago.nix { }; - nix-linter = self.callPackage ../../development/tools/analysis/nix-linter { }; - # Unofficial fork until PRs are merged https://github.com/pcapriotti/optparse-applicative/pulls/roberth # cabal2nix --maintainer roberth https://github.com/hercules-ci/optparse-applicative.git > pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix hercules-ci-optparse-applicative = diff --git a/pkgs/development/tools/analysis/nix-linter/default.nix b/pkgs/development/tools/analysis/nix-linter/default.nix deleted file mode 100644 index 7456dadefa2e..000000000000 --- a/pkgs/development/tools/analysis/nix-linter/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - lib, - mkDerivation, - fetchFromGitHub, - fixplate, - tasty, - tasty-hunit, - tasty-th, - streamly, - mtl, - path, - pretty-terminal, - text, - base, - aeson, - path-io, - cmdargs, - containers, - hnix, - bytestring, -}: - -mkDerivation { - pname = "nix-linter"; - version = "0.2.0.4"; - - src = fetchFromGitHub { - owner = "Synthetica9"; - repo = "nix-linter"; - rev = "ecdd50750fd3ffaff83c0637474b884a0c38f8b9"; - sha256 = "0hm6iaamh1wlvqk8z4yfh4idgbclbsimxhlgflwz2hnv9mm12sf1"; - }; - - isLibrary = false; - isExecutable = true; - libraryHaskellDepends = [ fixplate ]; - executableHaskellDepends = [ - streamly - mtl - path - pretty-terminal - text - base - aeson - cmdargs - containers - hnix - bytestring - path-io - ]; - testHaskellDepends = [ - tasty - tasty-hunit - tasty-th - ]; - - description = "Linter for Nix(pkgs), based on hnix"; - homepage = "https://github.com/Synthetica9/nix-linter"; - license = lib.licenses.bsd3; - maintainers = [ ]; - - # doesn't build on ghc92 - hydraPlatforms = lib.platforms.none; - broken = true; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b30c209d5036..afd79f028da5 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1729,6 +1729,7 @@ mapAliases { nfstrace = throw "nfstrace has been removed, as it was broken"; # Added 2025-08-25 nix-direnv-flakes = nix-direnv; nix-ld-rs = nix-ld; # Added 2024-08-17 + nix-linter = throw "nix-linter has been removed as it was broken for 3 years and unmaintained upstream"; # Added 2025-09-06 nix-plugin-pijul = throw "nix-plugin-pijul has been removed due to being discontinued"; # added 2025-05-18 nix-repl = throw ( # Added 2018-08-26 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c1a6a6b1cf8d..799482bf9c0f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15129,8 +15129,6 @@ with pkgs; nix-info = callPackage ../tools/nix/info { }; nix-info-tested = nix-info.override { doCheck = true; }; - nix-linter = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-linter); - nix-prefetch-github = with python3Packages; toPythonApplication nix-prefetch-github; inherit (callPackages ../tools/package-management/nix-prefetch-scripts { }) diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index 005eea819505..9f045ae77346 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -317,7 +317,6 @@ let nix-delegate nix-deploy nix-diff - nix-linter nix-output-monitor nix-script nix-tree