Enable unfree in own packages
This commit is contained in:
		
							parent
							
								
									3946155a15
								
							
						
					
					
						commit
						c7ed9539d5
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue