diff --git a/.gitignore b/.gitignore index c02b6fb..6f4d23e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ dist-newstyle/ dist/ .ghc.* .direnv +result diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..610b8f4 --- /dev/null +++ b/default.nix @@ -0,0 +1,12 @@ +let + nixpkgs = builtins.fetchTarball { + name = "nixos-unstable-2020-06-21"; + url = "https://github.com/NixOS/nixpkgs-channels/archive/a84cbb60f02.tar.gz"; + sha256 = "04j07c98iy66hpzha7brz867dcl9lkflck43xvz09dfmlvqyzmiz"; + }; + + pkgs = import nixpkgs {}; + + inherit (pkgs) haskellPackages; +in + haskellPackages.callCabal2nix "dconf2nix" ./. {}