Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ run the checks themselves like so:

```shell
$ curl -o outpaths.nix https://raw.githubusercontent.com/NixOS/ofborg/released/ofborg/src/outpaths.nix
$ GC_INITIAL_HEAP_SIZE=4g nix-env -f ./outpaths.nix -qaP --no-name --out-path --arg checkMeta true > out-paths
$ GC_INITIAL_HEAP_SIZE=4g nix-env -f ./outpaths.nix -qaP --no-name --out-path --arg checkMeta true --arg allowAliases false > out-paths
```

# Hacking
Expand Down
2 changes: 2 additions & 0 deletions ofborg/src/outpaths.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# When using as a callable script, passing `--argstr path some/path` overrides $PWD.
#!nix-shell -p nix -i "nix-env -qaP --no-name --out-path --arg checkMeta true --argstr path $PWD -f"
{ checkMeta
, allowAliases ? true
, path ? ./.
}:
let
Expand All @@ -18,6 +19,7 @@ let

nixpkgsArgs = {
config = {
allowAliases = allowAliases;
allowBroken = true;
allowUnfree = true;
allowInsecurePredicate = x: true;
Expand Down