add runs of ones test #8

Open
darkkirb wants to merge 2 commits from add-runs-of-ones into main
4 changed files with 23 additions and 24 deletions
Showing only changes of commit f650a10e67 - Show all commits

4
Cargo.lock generated
View file

@ -175,9 +175,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.12" version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
[[package]] [[package]]
name = "wasi" name = "wasi"

View file

@ -22,7 +22,7 @@ args @ {
workspaceSrc, workspaceSrc,
ignoreLockHash, ignoreLockHash,
}: let }: let
nixifiedLockHash = "680ec1c028e8bd30deec1823757f2d9ccb0fe8d194949ef95d15a41d3a488ebe"; nixifiedLockHash = "a0c35c5dbb7b7f0a97aaa0410b0bcdce042cdade80df9c137817016071bf7fee";
workspaceSrc = workspaceSrc =
if args.workspaceSrc == null if args.workspaceSrc == null
then ./. then ./.
@ -118,7 +118,7 @@ in
version = "0.1.1"; version = "0.1.1";
registry = "sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/"; registry = "sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/";
src = fetchCrateAlternativeRegistry { src = fetchCrateAlternativeRegistry {
index = sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/; index = "sparse+https://git.chir.rs/api/packages/ProcyOS/cargo/";
name = "extra-math"; name = "extra-math";
version = "0.1.1"; version = "0.1.1";
sha256 = "0efe6931de01f01ec0afe614a0299e811e34292ef28368ffcef1c3c7e15b24fb"; sha256 = "0efe6931de01f01ec0afe614a0299e811e34292ef28368ffcef1c3c7e15b24fb";
@ -243,7 +243,7 @@ in
["proc-macro"] ["proc-macro"]
]; ];
dependencies = { dependencies = {
unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.12" {inherit profileName;}).out; unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" {inherit profileName;}).out;
}; };
}); });
@ -386,7 +386,7 @@ in
dependencies = { dependencies = {
proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.86" {inherit profileName;}).out; proc_macro2 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".proc-macro2."1.0.86" {inherit profileName;}).out;
quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.37" {inherit profileName;}).out; quote = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".quote."1.0.37" {inherit profileName;}).out;
unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.12" {inherit profileName;}).out; unicode_ident = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" {inherit profileName;}).out;
}; };
}); });
@ -400,13 +400,13 @@ in
}; };
}); });
"registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.12" = overridableMkRustCrate (profileName: rec { "registry+https://github.com/rust-lang/crates.io-index".unicode-ident."1.0.13" = overridableMkRustCrate (profileName: rec {
name = "unicode-ident"; name = "unicode-ident";
version = "1.0.12"; version = "1.0.13";
registry = "registry+https://github.com/rust-lang/crates.io-index"; registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo { src = fetchCratesIo {
inherit name version; inherit name version;
sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"; sha256 = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe";
}; };
}); });

View file

@ -14,11 +14,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1725812914, "lastModified": 1726552619,
"narHash": "sha256-xYdN9kbpLScjJGll6IE7Cnnn1UhIMKUwGyrzKjQvPgI=", "narHash": "sha256-ytTBILVMnRZYvjiLYz+J6IFf/TOXdGuP6RDesMx9qgA=",
"owner": "DarkKirb", "owner": "DarkKirb",
"repo": "cargo2nix", "repo": "cargo2nix",
"rev": "7bb1ee00029ab2e7bd8ba03f5563cdbb998ab6f7", "rev": "baa12124e2de09e1cbbdac320f14809fa55af1a2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -51,7 +51,7 @@
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"revCount": 57, "revCount": 57,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz?rev=0f9255e01c2351cc7d116c072cb317785dd33b33&revCount=57"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -78,11 +78,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1725839224, "lastModified": 1726552853,
"narHash": "sha256-QfmN/UPEJxnRl8lG1xBOVmp/G/vT2r4ucltiYGPDw0w=", "narHash": "sha256-IiMC/CUatt5uvU5oHfWfqoaCjNs/vqRHj0B8JTZLrTg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "49ba5e4e4523963870fdbd39a0cf42610d75aa57", "rev": "683fddf43ec6cbb85bb61de54349090beb190173",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -107,11 +107,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1725762472, "lastModified": 1726539203,
"narHash": "sha256-thdxLVdcfrJNMFV3Ej9mDIh6QgHyoYswiW0SFNwod8A=", "narHash": "sha256-u1tAteb4qkH2gGjDY3mN/4Qxa6y798t4G0jNKDyTwv8=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "57a1564c924ee4acbffe0ad3d65c7e90d3e77cd8", "rev": "20c8461785d8f5af32d8d4d5c128589e23d7f033",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,17 +2,16 @@
description = "rand-testsuite"; description = "rand-testsuite";
inputs = { inputs = {
nixpkgs.url = github:NixOS/nixpkgs; nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = github:numtide/flake-utils; flake-utils.url = "github:numtide/flake-utils";
rust-overlay = { rust-overlay = {
url = github:oxalica/rust-overlay; url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
}; };
cargo2nix = { cargo2nix = {
url = github:DarkKirb/cargo2nix/master; url = "github:DarkKirb/cargo2nix/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
inputs.rust-overlay.follows = "rust-overlay"; inputs.rust-overlay.follows = "rust-overlay";