summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
1 files changed, 10 insertions, 14 deletions
diff --git a/flake.nix b/flake.nix
index ca94e85..cb7b97c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,17 +1,13 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs";
- outputs = {self, nixpkgs}:
- let
- system = "x86_64-linux";
- pkgs = import nixpkgs {inherit system; config.allowBroken=true;};
- hp = pkgs.haskell.packages.ghc928.override {
- overrides = self: super: rec {
- cuckoo = pkgs.haskell.lib.dontCheck super.cuckoo;
- };
- };
- in
- {
- packages.${system}.default = hp.callCabal2nix "dedumi" ./. {};
- devShells.${system}.default = self.packages.${system}.default.env;
- };
+ outputs = {
+ self,
+ nixpkgs,
+ }: let
+ system = "x86_64-linux";
+ pkgs = import nixpkgs {inherit system;};
+ in {
+ packages.${system}.default = import ./. {inherit pkgs;};
+ devShells.${system}.default = self.packages.${system}.default.env;
+ };
}