diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -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; + }; } |