-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getting close to cmp being perfect. but not quite
- Loading branch information
1 parent
333699e
commit 6e46401
Showing
7 changed files
with
52 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ pkgs, ... }: | ||
|
||
with pkgs; | ||
|
||
writeShellApplication { | ||
name = "build_nix_pkg_update"; | ||
runtimeInputs = [ | ||
bash | ||
git | ||
]; | ||
|
||
text = builtins.readFile ../../scripts/build_nix_pkg_update.sh; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ "$#" -ne 1 ]; then | ||
echo "Usage: $0 <package>" | ||
exit 1 | ||
fi | ||
|
||
PACKAGE_NAME="$1" | ||
|
||
pushd "$HOME/dev/oss/nixpkgs" || exit | ||
git fetch r-ryantm "auto-update/$PACKAGE_NAME" | ||
git checkout FETCH_HEAD | ||
nix build .#"$PACKAGE_NAME" |