Skip to content

Commit 21f2aed

Browse files
authored
Merge pull request #48 from nix-community/move-nix-community
Move to `nix-community`
2 parents 12e3e87 + d7ce802 commit 21f2aed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+668
-493
lines changed

.github/FUNDING.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github:
2+
- baileyluTCD
3+
- nix-community
4+
open_collective: nix-community

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: DeterminateSystems/nix-installer-action@main
2626

2727
- name: Build Docs
28-
run: nix build .#docs
28+
run: nix build .#docs --accept-flake-config
2929

3030
# Upload artifact
3131
- name: Upload artifact

.github/workflows/npm-packages-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: DeterminateSystems/nix-installer-action@main
3131

3232
- name: Build js artifact
33-
run: nix build .#bun2nix-js
33+
run: nix build .#bun2nix-js --accept-flake-config
3434

3535
- name: NPM Publish js artifact
3636
run: npm publish --provenance ./result/dist

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To help with that, here are some developer notes:
66

77
## Tests
88

9-
All tests for this project are ran through `nix flake check` and are a good way of checking if the whole project works. To ensure this remains the case automatically, [garnix](https://garnix.io/) has been setup for the repository to run automatically on pull requests.
9+
All tests for this project are ran through `nix flake check` and are a good way of checking if the whole project works. This project runs [CI provided by nix-community](https://nix-community.org/continuous-integration/).
1010

1111
## Documentation
1212

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
</div>
44

55
<div align="center">
6-
<a href="https://garnix.io/repo/baileyluTCD/bun2nix"><img alt="Built with Garnix" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2FbaileyluTCD%2Fbun2nix%3Fbranch%3Dmaster"></a>
7-
<a href="https://baileylutcd.github.io/bun2nix/"><img alt="GitHub Pages Deployment" src="https://github.com/baileyluTCD/bun2nix/actions/workflows/gh-pages.yml/badge.svg"></a>
6+
<a href="https://hercules-ci.com/github/nix-community/bun2nix/status"><img src="https://hercules-ci.com/api/v1/site/github/account/nix-community/project/bun2nix/badge" alt="Hercules CI"></a>
7+
<a href="https://nix-community.github.io/bun2nix/"><img alt="GitHub Pages Deployment" src="https://github.com/nix-community/bun2nix/actions/workflows/gh-pages.yml/badge.svg"></a>
88
</div>
99

1010
# Bun2Nix
@@ -13,4 +13,4 @@ A fast rust based tool for converting [Bun](https://bun.sh/) (v1.2+) package loc
1313

1414
## Documentation
1515

16-
Visit the [`bun2nix` documentation website](https://baileylutcd.github.io/bun2nix/) to find detailed installation and usage information.
16+
Visit the [`bun2nix` documentation website](https://nix-community.github.io/bun2nix/) to find detailed installation and usage information.

docs/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title = "Bun2Nix - Documentation"
77

88
[output.html]
99
additional-head = "head.html"
10-
git-repository-url = "https://github.com/baileyluTCD/bun2nix"
10+
git-repository-url = "https://github.com/nix-community/bun2nix"
1111
git-repository-icon = "fa-github"
1212
preferred-dark-theme = "ayu"

docs/src/flake-installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ To install `bun2nix` in an already existing bun project with a `flake.nix`, the
77
Add the `bun2nix` flake to your inputs as follows:
88

99
```nix
10-
bun2nix.url = "github:baileyluTCD/bun2nix";
10+
bun2nix.url = "github:nix-community/bun2nix";
1111
bun2nix.inputs.nixpkgs.follows = "nixpkgs";
1212
```
1313

1414
## 1.5. (Optional) Use the binary cache
1515

16-
The `bun2nix` executable typically takes a while to compile, which is typical for many Rust programs, hence, because of the [Garnix](https://garnix.io/) based CI/CD, a convenient binary cache is provided.
16+
The `bun2nix` executable typically takes a while to compile, which is typical for many Rust programs, hence, hence, it may be a good idea to use the [nix-community](https://nix-community.org/cache/) cache.
1717

1818
To add it include the following in your `flake.nix`.
1919

2020
```nix
2121
nixConfig = {
2222
extra-substituters = [
2323
"https://cache.nixos.org"
24-
"https://cache.garnix.io"
24+
"https://nix-community.cachix.org"
2525
];
2626
extra-trusted-public-keys = [
2727
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
28-
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
28+
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
2929
];
3030
};
3131
```

docs/src/overlay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Or, to add the `bun2nix` binary to your `devShell`:
6161
{
6262
inputs = {
6363
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
64-
bun2nix.url = "github:baileyluTCD/bun2nix";
64+
bun2nix.url = "github:nix-community/bun2nix";
6565
flake-utils.url = "github:numtide/flake-utils";
6666
};
6767

docs/src/template-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The main files of note are:
2020
To produce the default minimal sample, run:
2121

2222
```bash
23-
nix flake init -t github:baileyluTCD/bun2nix
23+
nix flake init -t github:nix-community/bun2nix
2424
```
2525

2626
This is a bare-bones project created via `bun init` which produces a simple hello world binary packaged via bun2nix.
@@ -30,7 +30,7 @@ This is a bare-bones project created via `bun init` which produces a simple hell
3030
To start with the React website template run
3131

3232
```bash
33-
nix flake init -t github:baileyluTCD/bun2nix#react
33+
nix flake init -t github:nix-community/bun2nix#react
3434
```
3535

3636
This is a simple example of a basic React app built through bun2nix.

0 commit comments

Comments
 (0)