packages: update package without using unstable
This commit is contained in:
parent
97f7e0361d
commit
167e4e9a5b
13
packages.nix
13
packages.nix
@ -1,9 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> { };
|
||||
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; [
|
||||
|
Loading…
Reference in New Issue
Block a user