Unverified Commit 78790dab authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

nixfmt[-rfc-style]: unstable -> 1.0.0 (#425068)

parents 44f19b96 98169225
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ let

        programs.keep-sorted.enable = true;

        # This uses nixfmt-rfc-style underneath,
        # This uses nixfmt underneath,
        # the default formatter for Nix code.
        # See https://github.com/NixOS/nixfmt
        programs.nixfmt.enable = true;
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  this release sets the default march level to `la64v1.0`, covering the desktop and server processors of 3X5000
  and newer series. However, embedded chips without LSX (Loongson SIMD eXtension), such as 2K0300 SoC, are not
  supported. `pkgsCross.loongarch64-linux-embedded` can be used to build software and systems for these platforms.
- The official Nix formatter `nixfmt` is now stable and available as `pkgs.nixfmt`, deprecating the temporary `pkgs.nixfmt-rfc-style` attribute. The classic `nixfmt` will stay available for some more time as `pkgs.nixfmt-classic`.

## Backward Incompatibilities {#sec-nixpkgs-release-25.11-incompatibilities}

+2 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ let
    stdenvNoCC
    gitMinimal
    treefmt
    nixfmt-rfc-style
    nixfmt
    ;
in

@@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation {
  nativeBuildInputs = [
    gitMinimal
    treefmt
    nixfmt-rfc-style
    nixfmt
  ];
  patchPhase = ''
    patchShebangs .
+1 −1
Original line number Diff line number Diff line
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git nixfmt-rfc-style -I nixpkgs=.
#! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git -I nixpkgs=.

set -euo pipefail

+1 −1
Original line number Diff line number Diff line
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable nixfmt-rfc-style -I nixpkgs=.
#! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable -I nixpkgs=.

# Updates cabal2nix-unstable to the latest master of the nixos/cabal2nix repository.
# See regenerate-hackage-packages.sh for details on the purpose of this script.
Loading