Enable unfree in own packages
This commit is contained in:
parent
3946155a15
commit
c7ed9539d5
|
@ -101,7 +101,11 @@
|
|||
in {
|
||||
# Your custom packages
|
||||
# Accessible through 'nix build', 'nix shell', etc
|
||||
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||
packages = forAllSystems (system:
|
||||
import ./pkgs (import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
}));
|
||||
# Formatter for your nix files, available through 'nix fmt'
|
||||
# Other options beside 'alejandra' include 'nixpkgs-fmt'
|
||||
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
system,
|
||||
steam,
|
||||
pkgs,
|
||||
jq,
|
||||
|
|
Loading…
Reference in a new issue