Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/tweag/rules_nixpkgs/releases/tag/v0.12.0

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: Claudio Bley <null>
  • Loading branch information
publish-to-bcr-bot[bot] committed Jul 12, 2024
1 parent 0a755ec commit 083b7d4
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
15 changes: 15 additions & 0 deletions modules/rules_nixpkgs_core/0.12.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module(
name = "rules_nixpkgs_core",
version = "0.12.0",
)

bazel_dep(name = "platforms", version = "0.0.4")
bazel_dep(name = "bazel_skylib", version = "1.0.3")

nix_repo = use_extension("//extensions:repository.bzl", "nix_repo")
nix_repo.github(
name = "nixpkgs",
tag = "24.05",
sha256 = "911314b81780f26fdaf87e17174210bdbd40c86bac1795212f257cdc236a1e78",
)
use_repo(nix_repo, "nixpkgs")
19 changes: 19 additions & 0 deletions modules/rules_nixpkgs_core/0.12.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
bcr_test_module:
module_path: "testing"
matrix:
platform: ["ubuntu2204"]
bazel:
- "6.x"
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
environment:
# The Nix installer updates ~/.profile to set PATH. However, the Bazel
# CI setup seems to disregard ~/.profile. So we set PATH manually here.
PATH: /var/lib/buildkite-agent/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
shell_commands:
- curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
test_targets:
- "//..."
5 changes: 5 additions & 0 deletions modules/rules_nixpkgs_core/0.12.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-GtsE3AQWkV/vQndX9CcsT32s7+zu78UPaDrsf36beHo=",
"strip_prefix": "rules_nixpkgs-0.12.0/core",
"url": "https://github.com/tweag/rules_nixpkgs/releases/download/v0.12.0/rules_nixpkgs-0.12.0.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/rules_nixpkgs_core/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
],
"versions": [
"0.10.0",
"0.11.1"
"0.11.1",
"0.12.0"
],
"yanked_versions": {}
}

0 comments on commit 083b7d4

Please sign in to comment.