This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> { } }: with pkgs; rec { | |
devkitppc-img = dockerTools.pullImage { | |
imageName = "devkitpro/devkitppc"; | |
imageDigest = "sha256:77ed88cb417e057fa805e12a8ce1eab8865fe35a761cde7be00315d5c6cba288"; | |
sha256 = "1g1c0ad256kp04d9nvgjb35qzqzw9x7r92mjnmgb263lsmaay60a"; | |
finalImageName = "devkitpro/devkitppc"; | |
finalImageTag = "20200704"; | |
}; | |
# based on <nixpkgs/nixos/modules/virtualisation/docker-preloader.nix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Signal where | |
import Prelude hiding (id, (.)) | |
import Control.Arrow | |
import Control.Category | |
-- | r = enviroment input | |
-- | w = enviroment output | |
-- | a = signal input | |
-- | b = signal output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/default.nix b/lib/default.nix | |
index f293a1defb1..786df12b3f0 100644 | |
--- a/lib/default.nix | |
+++ b/lib/default.nix | |
@@ -105,7 +105,7 @@ let | |
mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions | |
pushDownProperties dischargeProperties filterOverrides | |
sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride | |
- mkOptionDefault mkDefault mkForce mkVMOverride mkStrict | |
+ mkOptionDefault mkDefault mkForce mkVMOverride mkApply mkStrict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
aarch64-multiplatform = { | |
name = "aarch64-multiplatform"; | |
kernelMajor = "2.6"; # Using "2.6" enables 2.6 kernel syscalls in glibc. | |
kernelHeadersBaseConfig = "defconfig"; | |
kernelBaseConfig = "defconfig"; | |
kernelArch = "arm64"; | |
kernelDTB = true; | |
kernelAutoModules = true; | |
kernelPreferBuiltin = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix.maxJobs = 0; | |
nix.distributedBuilds = true; | |
nix.buildMachines = [ | |
{ | |
hostName = "192.168.1.77"; | |
maxJobs = 8; | |
sshKey = /root/.ssh/id_rsa; | |
sshUser = "builder"; | |
system = "x86_64-linux"; | |
} |