File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 256256 }
257257 # NixOS/nixpkgs
258258 {
259- optionsJSON = ( import "${ nixpkgs } /nixos/release.nix" { } ) . options + /share/doc/nixos/options.json ;
260259 name = "NixOS unstable" ;
261260 urlPrefix = "https://github.com/NixOS/nixpkgs/tree/master/" ;
262- packagesJsons = search . packages . ${ system } . mkPackagesJSONs {
263- name = "nixpkgs-packages.json" ;
264- pkgs = pkgs . writeText "pkgs.nix" /* nix */ ''
265- (import ${ nixpkgs } ) {
266- system = "x86_64-linux";
267- config.allowBroken = true;
268- }
269- '' ;
270- } ;
261+ optionsJSON = ( import "${ nixpkgs } /nixos/release.nix" { } ) . options + /share/doc/nixos/options.json ;
262+ pkgs = pkgs . writeText "pkgs.nix" /* nix */ ''
263+ (import ${ nixpkgs } ) {
264+ system = "${ pkgs . stdenv . hostPlatform . system } ";
265+ config = {
266+ allowBroken = true;
267+ allowSrcEvalForDrvMeta = true;
268+ };
269+ }
270+ '' ;
271271 }
272272 # nixos-apple-silicon
273273 {
You can’t perform that action at this time.
0 commit comments