scripts/check-nur: dont hardcode the location of this repo
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env nix-shell
|
||||||
NIX_FILES_TOP=/home/colin/nixos
|
#!nix-shell -i bash -p git
|
||||||
|
|
||||||
|
SELF_PATH=$PWD/$0
|
||||||
|
REPO_ROOT=$(git -C "$(dirname SELF_PATH)" rev-parse --show-toplevel)
|
||||||
|
|
||||||
nixpkgs=$(nix-store --realize $(nix-instantiate -A nixpkgs-bootstrap.master.src))
|
nixpkgs=$(nix-store --realize $(nix-instantiate -A nixpkgs-bootstrap.master.src))
|
||||||
|
|
||||||
cd $NIX_FILES_TOP/integrations/nur
|
cd $REPO_ROOT/integrations/nur
|
||||||
|
|
||||||
NIX_PATH= NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-env -f . -qa \* --meta --xml \
|
NIX_PATH= NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-env -f . -qa \* --meta --xml \
|
||||||
--allowed-uris https://static.rust-lang.org \
|
--allowed-uris https://static.rust-lang.org \
|
||||||
|
Reference in New Issue
Block a user