1{ sources ? import ./nix/sources.nix
2, nixpkgs ? sources.nixpkgs
3, system ? builtins.currentSystem
6 pkgs = import nixpkgs {
7 crossSystem = (import "${nixpkgs}/lib").systems.examples.raspberryPi;
9 # config.perlPackageOverrides = old: {
10 # FileShareDir = old.perlPackages.callPackage
11 # ({ buildPerlPackage, lib, fetchurl, ClassInspector, FileShareDirInstall, ... }: buildPerlPackage {
12 # pname = "File-ShareDir";
15 # url = "mirror://cpan/authors/id/R/RE/REHSACK/File-ShareDir-1.116.tar.gz";
16 # sha256 = "0a43rfb0a1fpxh4d2dayarkdxw4cx9a2krkk87zmcilcz7yhpnar";
18 # propagatedBuildInputs = [ ClassInspector ];
20 # description = "Locate per-dist and per-module shared files";
21 # license = with lib.licenses; [ artistic1 gpl1Plus ];
23 # buildInputs = [ FileShareDirInstall ];
29 # libdrm = super.libdrm.override { withValgrind = false; };
30 # perl = super.perl.override {
31 # config.packageOverrides = 1;
33 # perlPackages = super.perl530Packages.override (old: {
41 nixpkgs.crossSystem = lib.systems.elaborate lib.systems.examples.raspberryPi;
42 # supportedSystems = [ "armv6l-linux" ];
45 (import "${nixpkgs}/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix")
48nixos.config.system.build.sdImage
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list