Skip to content

Commit

Permalink
Bump test script nixpkgs (#181)
Browse files Browse the repository at this point in the history
* test: bump test script nixpkgs

* test: use macos-13 as temp fix for missing arm installer
  • Loading branch information
sandydoo authored Apr 25, 2024
1 parent fb5cb83 commit ef8d8a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
nix-master:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions test.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Realizes <num>> of derivations with size of <size>MB
{ size ? 1 # MB
, num ? 10 # count
, num ? 10 # count
, currentTime ? builtins.currentTime
}:

with (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/21d8e70a69f704a6ab971b2d8265d40cc7bb69b1.tar.gz") {});
with (import (fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11") {});

let
drv = i: runCommand "${toString currentTime}-${toString i}" {} ''
Expand Down

0 comments on commit ef8d8a4

Please sign in to comment.