diff options
author | Alan Pearce | 2023-06-20 18:41:36 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-20 18:41:36 +0200 |
commit | 3d3ac02cf53695838eb149cc5c3a395fa4077db8 (patch) | |
tree | dc39f2c1aab8b89543eaab4a307216498d3edad5 /flake.nix | |
parent | ea30ac77b60642d691a0508af5eb005186cf2851 (diff) | |
download | website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.tar.lz website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.tar.zst website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.zip |
Make compatible with non-flake nix
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 6625f73..24f3297 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,12 @@ description = "My website, alanpearce.eu"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.flake-compat = { + url = "github:edolstra/flake-compat"; + flake = false; + }; - outputs = { self, nixpkgs, flake-utils }: + outputs = { self, nixpkgs, flake-utils, flake-compat }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; |