Skip to content

Commit

Permalink
Remove unneeded follows directive from pre-commit-hooks-lib flake dep…
Browse files Browse the repository at this point in the history
…endency
  • Loading branch information
sd234678 committed Dec 12, 2024
1 parent b12575f commit a175728
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .last-exported-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Last exported commit from parent repo: e608d124ce3fd1cfa55f1d6b14306d89a66991ad
Last exported commit from parent repo: 2951be329d4591d88308ce8adf7e326432828a7a
2 changes: 1 addition & 1 deletion nix-bootstrap.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 2.0
-- see: https://github.com/sol/hpack

name: nix-bootstrap
version: 2.0.0.4
version: 2.0.1.0
author: gchquser
maintainer: [email protected]
copyright: Crown Copyright
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
name: nix-bootstrap
version: 2.0.0.4
version: 2.0.1.0
author: gchquser
maintainer: [email protected]
copyright: Crown Copyright
Expand Down
5 changes: 1 addition & 4 deletions src/Bootstrap/Data/Bootstrappable/FlakeNix.hs
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ instance IsNixExpr FlakeNix where
};|],
[nixbinding|flake-utils.url = "github:numtide/flake-utils";|]
]
<> [ [nixbinding|pre-commit-hooks-lib = {
inputs.flake-utils.follows = "flake-utils";
url = "github:cachix/pre-commit-hooks.nix";
};|]
<> [ [nixbinding|pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";|]
| usingHooks
]
<> [machNixFlakeInput | isPython]
Expand Down
15 changes: 3 additions & 12 deletions test/Bootstrap/Data/Bootstrappable/FlakeNixSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ spec = describe "flake.nix rendering" do
url = github:edolstra/flake-compat;
};
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks-lib = {
inputs.flake-utils.follows = "flake-utils";
url = "github:cachix/pre-commit-hooks.nix";
};
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
};
outputs = {
nixpkgs-src,
Expand Down Expand Up @@ -163,10 +160,7 @@ spec = describe "flake.nix rendering" do
url = github:edolstra/flake-compat;
};
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks-lib = {
inputs.flake-utils.follows = "flake-utils";
url = "github:cachix/pre-commit-hooks.nix";
};
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
};
outputs = {
nixpkgs-src,
Expand Down Expand Up @@ -258,10 +252,7 @@ spec = describe "flake.nix rendering" do
url = github:edolstra/flake-compat;
};
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks-lib = {
inputs.flake-utils.follows = "flake-utils";
url = "github:cachix/pre-commit-hooks.nix";
};
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
};
outputs = {
nixpkgs-src,
Expand Down

0 comments on commit a175728

Please sign in to comment.