! SPDX-FileCopyrightText: 2026
! SPDX-License-Identifier: ISC
!
! Permission to use, copy, modify, and/or distribute this
! software for any purpose with or without fee is hereby
! granted, provided that the above copyright notice & this
! permission notice appear in all copies.
!
! THE SOFTWARE IS PROVIDED “AS IS” & ISC DISCLAIMS ALL
! WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
! WARRANTIES OF MERCHANTABILITY & FITNESS. IN NO EVENT SHALL ISC
! BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
! DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
! DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
! OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
! THE USE OR PERFORMANCE OF THIS SOFTWARE.
! ──────────────────────────────────────────────────────────────
! This file was generated by darcs-hooks2.
! ──────────────────────────────────────────────────────────────
USING: accessors assocs darcs-hooks2 io.launcher kernel
namespaces sequences ;

! Feed metadata for tag atom feed:
feed-meta new
    "https://example.com/" >>url
    "darcs-hooks2" >>title
feed-meta set-global

[ tweak-weak-hash-file ] "post-record" hook-actions get set-at
[ tweak-weak-hash-file ] "post-unrecord" hook-actions get set-at
[ tweak-weak-hash-file ] "post-amend" hook-actions get set-at
[ tweak-weak-hash-file tweak-tags-atom ] "post-obliterate" hook-actions get set-at
[ tweak-weak-hash-file tweak-tags-atom ] "post-tag" hook-actions get set-at
[
    tweak-weak-hash-file tweak-tags-atom
    "nix-build --no-out-link release.nix" try-process
    "nix-build release.nix -A check" try-process
] "post-apply" hook-actions get set-at
[
    tweak-weak-hash-file tweak-tags-atom
    "nix-build --no-out-link release.nix" try-process
    "nix-build release.nix -A check" try-process
] "post-apply" hook-actions get set-at
[
    "nix-build --no-out-link release-dev.nix" try-process
    "nix-build release-dev.nix -A check" try-process
] "pre-push" hook-actions get set-at
