Remove explicit references to nixpkgs-unstable

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-07-22 20:20:30 +02:00
parent 8dddfe051a
commit 4021a23985
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
let
inherit (config.magic_rb.pkgs) nixpkgs-unstable;
cfg = config.services.vault-agent;
format = pkgs.formats.json { };
in
@ -13,7 +11,7 @@ in
package = mkOption {
type = types.package;
default = nixpkgs-unstable.vault;
default = pkgs.vault;
defaultText = "nixpkgs.vault";
description = ''
The package used for the Vault agent and CLI.

View file

@ -4,8 +4,6 @@ let
hunspellWithDicts = prev.callPackage ./hunspell-with-dicts.nix {
dicts = with prev.hunspellDicts; [ en_US ];
};
nixpkgs-unstable = import inputs.nixpkgs-unstable
{ system = prev.stdenv.system; };
in
{
magic_rb = prev.magic_rb or {} // {
@ -14,7 +12,7 @@ in
emacsSrc = inputs.emacs;
vtermModule = inputs.vtermModule;
emacsPackages = with nixpkgs-unstable;
emacsPackages = with final;
[
hunspellWithDicts
@ -32,6 +30,10 @@ in
clang-tools
rnix-lsp
ghc
cabal-install
magic_rb.easy-hls-nix
];
};
};