chore(users/edef): move to contrib
Change-Id: I1a6972fab8ada26917f29607fc401e376d634070
This commit is contained in:
parent
a7916624dc
commit
403d8fc897
55 changed files with 15 additions and 17 deletions
6
contrib/refscan/testdata/.gitignore
vendored
Normal file
6
contrib/refscan/testdata/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# SPDX-FileCopyrightText: edef <edef@edef.eu>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
/maxrefs
|
||||
/nar
|
||||
/result
|
||||
8
contrib/refscan/testdata/generate.sh
vendored
Executable file
8
contrib/refscan/testdata/generate.sh
vendored
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#! /usr/bin/env bash
|
||||
# SPDX-FileCopyrightText: edef <edef@edef.eu>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
set -euo pipefail
|
||||
|
||||
drv=$(nix-instantiate '<nixpkgs>' -A ghc)
|
||||
nix --extra-experimental-features nix-command show-derivation -r "$drv" | jq -r '.[] | .outputs[].path, .inputSrcs[]' | sort -u | cut -d/ -f4 | cut -d- -f1 > maxrefs
|
||||
nix-store --dump "$(nix-build "$drv")" > nar
|
||||
Loading…
Add table
Add a link
Reference in a new issue