diff --git a/packages.nix b/packages.nix index a0f978c..a9c6704 100644 --- a/packages.nix +++ b/packages.nix @@ -1,9 +1,5 @@ { config, pkgs, lib, ... }: -let - unstable = import { }; -in - { nixpkgs.overlays = lib.singleton (self: super: @@ -12,10 +8,11 @@ in roomId = "!FsUSHSNMPMVTFFcvJo:maxwell.ydns.eu"; authToken = config.secrets.passwords.matrix; }; - haskellPackages = super.haskellPackages.override - { overrides = hself: hsuper: - { inherit (unstable.haskellPackages) namecoin-update; }; - }; + haskellPackages = super.haskellPackages.extend (hself: hsuper: + { namecoin-update = hself.callCabal2nix "namecoin-update" (builtins.fetchTarball { + url = "https://hackage.haskell.org/package/namecoin-update-0.2.3.0/namecoin-update-0.2.3.0.tar.gz"; + }) {}; + }); }); environment.systemPackages = with pkgs; [