Skip to content

Commit

Permalink
chore(flake): dont use "follows"
Browse files Browse the repository at this point in the history
The feature is especially broken in nix:
    nixFlake suffers from an issue when using "follows" keyword:
    NixOS/nix#3602

    A solution here https://discourse.nixos.org/t/flake-how-make-nixpkgs-self-follow-another-inputs-nixpkgs/10867
    presents how to set self.inputs from children flakes so that's what we
    end up doing
  • Loading branch information
Matthieu Coudron committed Sep 17, 2021
1 parent 3bfb9b3 commit 982b0f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
# inputs.nixpkgs.follows = "nixpkgs";
# inputs.flake-utils.follows = "flake-utils";
};
gitignore = {
url = "github:hercules-ci/gitignore.nix";
Expand Down

0 comments on commit 982b0f4

Please sign in to comment.