Skip to content

Commit

Permalink
Remove all nixpkgs specs
Browse files Browse the repository at this point in the history
Just follow the global registry, which is nixpkgs-unstable.
  • Loading branch information
akirak committed Jan 15, 2024
1 parent 7950a13 commit fd085b4
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dev/flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
# To be overridden during execution
Expand Down
1 change: 1 addition & 0 deletions elixir-phoenix/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
1 change: 1 addition & 0 deletions elixir/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};

Expand Down
5 changes: 4 additions & 1 deletion flake-utils/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
inputs.systems.url = "github:nix-systems/default";
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};

outputs = {
self,
Expand Down
2 changes: 1 addition & 1 deletion minimal/flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/master";
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};

Expand Down
3 changes: 1 addition & 2 deletions node-typescript/flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
inputs = {
# You can override nixpkgs to use the latest set of node packages
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};

Expand Down
13 changes: 8 additions & 5 deletions pre-commit/flake.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
inputs.pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
systems.url = "github:nix-systems/default";
};
inputs.systems.url = "github:nix-systems/default";

outputs = {
self,
Expand Down
5 changes: 4 additions & 1 deletion pulumi-ts/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
inputs.systems.url = "github:nix-systems/default";
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};

outputs = {
self,
Expand Down
1 change: 1 addition & 0 deletions rust/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
systems.url = "github:nix-systems/default";
treefmt-nix = {
Expand Down
1 change: 1 addition & 0 deletions treefmt/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
Expand Down

0 comments on commit fd085b4

Please sign in to comment.