Skip to content

Commit

Permalink
Merge pull request #182 from NixOS/feat/more-serokell-moves
Browse files Browse the repository at this point in the history
Remove leftover license/author mentions and fix more Serokell references
  • Loading branch information
infinisil authored Apr 5, 2024
2 parents fabd1d2 + 2e1d31a commit 134290e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 27 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# © 2019-2023 Serokell <[email protected]>
# © 2019-2023 Lars Jellema <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

name: CI
on:
pull_request:
Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# © 2019 Serokell <[email protected]>
# © 2019 Lars Jellema <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

/.cabal-sandbox/
/cabal.sandbox.config
/dist/
Expand Down
5 changes: 0 additions & 5 deletions .stylish-haskell.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# © 2019 Serokell <[email protected]>
# © 2019 Lars Jellema <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

steps:
- simple_align:
cases: false
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contribution Guidelines

We welcome issues and pull requests at https://github.com/serokell/nixfmt.
We welcome issues and pull requests at https://github.com/NixOS/nixfmt.

We use stylish-haskell to format our code. Make sure to format your
contributions with it. It is available within the `nix-shell` and it should pick
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

You are encouraged to test this out on your code and submit any undesirable formatting you find as an issue

![Build Status](https://github.com/serokell/nixfmt/actions/workflows/main.yml/badge.svg?branch=master)
![Build Status](https://github.com/NixOS/nixfmt/actions/workflows/main.yml/badge.svg?branch=master)

## State

`nixfmt` will form the basis for the initial official standard Nix formatter, as established by [RFC 166](https://github.com/NixOS/rfcs/pull/166).

The established standard Nix formatting differs considerably from the original one. Be aware of this if you track the main branch. Until the first new release the main branch should be considered **very unstable**.

For more details, see the [RFC implementation tracking issue](https://github.com/serokell/nixfmt/issues/153).
For more details, see the [RFC implementation tracking issue](https://github.com/NixOS/nixfmt/issues/153).

## Installation

Expand All @@ -22,11 +22,11 @@ For more details, see the [RFC implementation tracking issue](https://github.com

- To get the most recent version, install from master:

nix-env -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i
nix-env -f https://github.com/NixOS/nixfmt/archive/master.tar.gz -i

- Nix with flakes

nix profile install github:serokell/nixfmt
nix profile install github:NixOS/nixfmt

## Development

Expand Down
11 changes: 5 additions & 6 deletions nixfmt.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ synopsis: An opinionated formatter for Nix
description:
A formatter for Nix that ensures consistent and clear formatting by forgetting
all existing formatting during parsing.
homepage: https://github.com/serokell/nixfmt
bug-reports: https://github.com/serokell/nixfmt/issues
homepage: https://github.com/NixOS/nixfmt
bug-reports: https://github.com/NixOS/nixfmt/issues
license: MPL-2.0
license-file: LICENSE
author: Lars Jellema
maintainer: [email protected]
copyright: 2022 Serokell, 2022 Lars Jellema
author: Serokell <[email protected]> and nixfmt contributors
copyright: Serokell <[email protected]> and nixfmt contributors
category: Development
build-type: Simple
extra-source-files: README.md, CHANGELOG.md

source-repository head
type: git
location: git://github.com/serokell/nixfmt.git
location: git://github.com/NixOS/nixfmt.git

executable nixfmt
main-is: Main.hs
Expand Down
2 changes: 1 addition & 1 deletion src/Nixfmt.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ formatVerify width path unformatted = do
else Right formattedOnce
where
parse = first errorBundlePretty . Megaparsec.parse file path
pleaseReport x = path <> ": " <> x <> " This is a bug in nixfmt. Please report it at https://github.com/serokell/nixfmt"
pleaseReport x = path <> ": " <> x <> " This is a bug in nixfmt. Please report it at https://github.com/NixOS/nixfmt"


minimize :: Expression -> (Expression -> Bool) -> Expression
Expand Down

0 comments on commit 134290e

Please sign in to comment.