pass inputs to packages.nix
This commit is contained in:
parent
69db138349
commit
5a9812bff6
3 changed files with 5 additions and 6 deletions
|
@ -84,8 +84,7 @@
|
|||
};
|
||||
|
||||
packages.${system} = import ./packages {
|
||||
nixpkgs = pkgs;
|
||||
inherit inputs;
|
||||
inherit inputs pkgs;
|
||||
};
|
||||
|
||||
defaultApp.${system} = {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ nixpkgs, inputs }:
|
||||
{ pkgs, inputs }@args:
|
||||
let
|
||||
patched-derivations = import ./patched-derivations.nix nixpkgs;
|
||||
patched-derivations = import ./patched-derivations.nix pkgs;
|
||||
patched-inputs = import ./patched-inputs.nix inputs;
|
||||
packages = import ./packages.nix nixpkgs;
|
||||
packages = import ./packages.nix args;
|
||||
in patched-derivations
|
||||
// patched-inputs
|
||||
// packages
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pkgs: {
|
||||
{ inputs, pkgs }: {
|
||||
privatevoid-smart-card-ca-bundle = pkgs.callPackage ./data/privatevoid-smart-card-certificate-authority-bundle.nix { };
|
||||
|
||||
jdtls = pkgs.callPackage ./development/langservers/jdtls.nix { };
|
||||
|
|
Loading…
Reference in a new issue