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, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> { };
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = lib.singleton
|
nixpkgs.overlays = lib.singleton
|
||||||
(self: super:
|
(self: super:
|
||||||
@ -12,10 +8,11 @@ in
|
|||||||
roomId = "!FsUSHSNMPMVTFFcvJo:maxwell.ydns.eu";
|
roomId = "!FsUSHSNMPMVTFFcvJo:maxwell.ydns.eu";
|
||||||
authToken = config.secrets.passwords.matrix;
|
authToken = config.secrets.passwords.matrix;
|
||||||
};
|
};
|
||||||
haskellPackages = super.haskellPackages.override
|
haskellPackages = super.haskellPackages.extend (hself: hsuper:
|
||||||
{ overrides = hself: hsuper:
|
{ namecoin-update = hself.callCabal2nix "namecoin-update" (builtins.fetchTarball {
|
||||||
{ inherit (unstable.haskellPackages) namecoin-update; };
|
url = "https://hackage.haskell.org/package/namecoin-update-0.2.3.0/namecoin-update-0.2.3.0.tar.gz";
|
||||||
};
|
}) {};
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
Loading…
Reference in New Issue
Block a user