diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-16 16:29:44 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-16 16:29:44 +0200 |
commit | 939bee06cd7c68af1508fab127202689fc63c22e (patch) | |
tree | d7e064007ec3f88e800920de4b742536eb14659e /flake.nix | |
parent | 3ddb6d1833a94e3d141116f3e579e66ebef04111 (diff) |
Pass a flake to itself as "self"
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,13 +3,15 @@ description = "The purely functional package manager"; - requires = [ flake:nixpkgs ]; + epoch = 2019; - provides = flakes: rec { + requires = [ "nixpkgs" ]; + + provides = deps: rec { hydraJobs = import ./release.nix { - nix = flakes.nix; # => flakes.self? - nixpkgs = flakes.nixpkgs; + nix = deps.self; + nixpkgs = deps.nixpkgs; }; packages.nix = hydraJobs.build.x86_64-linux; |