diff options
author | tzlil <tzlils@protonmail.com> | 2024-01-26 21:09:09 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2024-01-26 21:09:09 +0200 |
commit | 5c6635052b6983d2149b936762298200f6419275 (patch) | |
tree | d6cde34d61df3aa7be7e63bbb42da157207a93a9 /flake.nix | |
parent | 3b5936958c72d7f4db1b5d0deb00cdb43a2f5e66 (diff) |
UART ECHO SERVER!!!!!!!!
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 1517d5a..b07c283 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,13 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; + clash-cores = { + url = "github:clash-lang/clash-compiler?dir=clash-cores"; + flake = false; + }; }; - outputs = { nixpkgs, flake-utils, self }: + outputs = { clash-cores, nixpkgs, flake-utils, self }: flake-utils.lib.eachDefaultSystem (system: let name = "Blinker"; @@ -31,6 +35,7 @@ ver = "1.8.1"; sha256 = "sha256-/dFgCj9e+gkyyUDAB1n1ukaEnkugCR7cRkP+SFJmjjY="; } {}; + clash-cores = super.callCabal2nix "clash-cores" "${clash-cores}/clash-cores/" { }; }; }; hpkg = pkgs.haskell.lib.overrideCabal (hpkgs.callCabal2nix name src {}) (drv: { |