Compare commits
No commits in common. "6dabb715dcf0c0e118ed10673d91f43a2603c051" and "ff389e7643cf89586f1ed0b7c598b48ab5b08295" have entirely different histories.
6dabb715dc
...
ff389e7643
@ -268,11 +268,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720542800,
|
"lastModified": 1720418205,
|
||||||
"narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
|
"narHash": "sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "feb2849fdeb70028c70d73b848214b00d324a497",
|
"rev": "655a58a72a6601292512670343087c2d75d859c1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -114,7 +114,6 @@
|
|||||||
clerie-sops-config
|
clerie-sops-config
|
||||||
clerie-sops-edit
|
clerie-sops-edit
|
||||||
chromium-incognito
|
chromium-incognito
|
||||||
git-checkout-github-pr
|
|
||||||
iot-data
|
iot-data
|
||||||
nix-remove-result-links
|
nix-remove-result-links
|
||||||
nixfiles-auto-install
|
nixfiles-auto-install
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
pkgs.writeShellApplication {
|
|
||||||
name = "git-checkout-github-pr";
|
|
||||||
text = builtins.readFile ./git-checkout-github-pr.sh;
|
|
||||||
runtimeInputs = with pkgs; [
|
|
||||||
git
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
ID=""
|
|
||||||
REMOTE="origin"
|
|
||||||
LOCAL_BRANCH=""
|
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case $1 in
|
|
||||||
--remote)
|
|
||||||
REMOTE="$2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--local-branch)
|
|
||||||
LOCAL_BRANCH="$2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
if [[ -z "${ID}" ]]; then
|
|
||||||
ID="$1"
|
|
||||||
shift
|
|
||||||
else
|
|
||||||
echo "Unknown option $1"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ -z "${ID}" ]]; then
|
|
||||||
echo "Specify GitHub PR number"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${LOCAL_BRANCH}" ]]; then
|
|
||||||
LOCAL_BRANCH="pr/${ID}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
git fetch "${REMOTE}" "pull/${ID}/head:${LOCAL_BRANCH}"
|
|
||||||
|
|
||||||
git switch "${LOCAL_BRANCH}"
|
|
@ -7,7 +7,6 @@ final: prev: {
|
|||||||
clerie-sops-edit = final.callPackage ./clerie-sops/clerie-sops-edit.nix {};
|
clerie-sops-edit = final.callPackage ./clerie-sops/clerie-sops-edit.nix {};
|
||||||
clerie-update-nixfiles = final.callPackage ./clerie-update-nixfiles/clerie-update-nixfiles.nix {};
|
clerie-update-nixfiles = final.callPackage ./clerie-update-nixfiles/clerie-update-nixfiles.nix {};
|
||||||
chromium-incognito = final.callPackage ./chromium-incognito {};
|
chromium-incognito = final.callPackage ./chromium-incognito {};
|
||||||
git-checkout-github-pr = final.callPackage ./git-checkout-github-pr {};
|
|
||||||
iot-data = final.python3.pkgs.callPackage ./iot-data {};
|
iot-data = final.python3.pkgs.callPackage ./iot-data {};
|
||||||
nix-remove-result-links = final.callPackage ./nix-remove-result-links {};
|
nix-remove-result-links = final.callPackage ./nix-remove-result-links {};
|
||||||
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};
|
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};
|
||||||
|
Loading…
Reference in New Issue
Block a user