forked from nyanloutre/nixos-config
pr basée sur non small
This commit is contained in:
parent
49767d8198
commit
1026c2c5f9
@ -13,7 +13,7 @@ parser.add_argument('--repo')
|
|||||||
parser.add_argument('--cache-dir')
|
parser.add_argument('--cache-dir')
|
||||||
args = vars(parser.parse_args())
|
args = vars(parser.parse_args())
|
||||||
|
|
||||||
channel_req = urllib.request.Request(url='https://nixos.org/channels/nixos-18.09-small/git-revision')
|
channel_req = urllib.request.Request(url='https://nixos.org/channels/nixos-18.09/git-revision')
|
||||||
latest_commit = urllib.request.urlopen(channel_req).read().decode('utf-8')
|
latest_commit = urllib.request.urlopen(channel_req).read().decode('utf-8')
|
||||||
try:
|
try:
|
||||||
previous_commit = open(args['cache_dir'] + '/git-revision', 'r').read()
|
previous_commit = open(args['cache_dir'] + '/git-revision', 'r').read()
|
||||||
|
Loading…
Reference in New Issue
Block a user