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
### Keybase proof | |
I hereby claim: | |
* I am garbas on github. | |
* I am garbas (https://keybase.io/garbas) on keybase. | |
* I have a public key ASB2QSqYtvRu0zh1S8TPhNuTk2GUKaGnJMdp0r1V8ovG1Qo | |
To claim this, I am signing this object: |
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
- agenda/ideas for the nixcon talk | |
- brief introduction | |
- what is pypi | |
- how "awesome" python packaging is | |
- what problems we have when packing with nix | |
- how it works (differently then other 2nix tools) | |
- 3 stages | |
- stage1: using nix-shell |
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
# generated using pypi2nix tool (version: 1.8.0) | |
# See more at: https://github.com/garbas/pypi2nix | |
# | |
# COMMAND: | |
# pypi2nix -V 2.7 -e mrjob | |
# | |
{ pkgs ? import <nixpkgs> {} | |
}: |
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
- 2 services: | |
- notification_identity -> get notification channel for level by IDENTITY_ID | |
- notification_policy -> how often to notify IDENTITY_IDs | |
- move to mozilla-releng/services | |
- src/releng_notifcation_identity | |
- src/releng_notifcation_??? | |
- request flow |
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
{ | |
"name": "test1", | |
"steps": [ | |
{ | |
"uid": "mock1", | |
"url": "http://localhost:8012/mock", | |
"parameters": { | |
"timeout": 2 | |
} | |
}, |
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
{ pkgs, python }: | |
self: super: { | |
"github3.py" = python.overrideDerivation super."github3.py" (old: { | |
propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ self."uritemplate" ]; | |
patchPhase = '' | |
cat setup.py | |
sed -i -e "s|uritemplate.py >= 0.2.0|uritemplate >= 0.2.0|" setup.py | |
''; |
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
# IMPORTANT: make sure you copy over `requirements_override.nix` file | |
% pypi2nix --version | |
1.8.0 (master) | |
% pypi2nix -v -V "3.5" -e rinohtype | |
... | |
% nix-build requirements.nix -A interpreter |
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
let | |
neovim = pkgs.neovim.override { | |
configure = { | |
customRC = '' | |
" vim config | |
''; | |
vam.pluginDictionaries = [ | |
{ names = [ | |
"surround" |
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
{ | |
"provisionerId": "aws-provisioner-v1", | |
"workerType": "releng-task", | |
"taskGroupId": "TASK_ID", | |
"dependencies": [ "TASK_ID" ], | |
"created": "CREATED", | |
"deadline": "DEADLINE", | |
"expires": "EXPIRES", | |
"scopes": [ "queue:create-task:aws-provisioner-v1/releng-task" ], | |
"payload": { |
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
! Configure failed for Math-Pari-2.01080900. See /tmp/nix-build-bugzilla-XXX.drv-0/.cpanm/work/1481352503.255/build.log for details. | |
! Installing the dependencies failed: Module 'Math::Pari' is not installed | |
! Bailing out the installation for Net-SSH-Perl-2.01. | |
! Installing the dependencies failed: Module 'Net::SSH::Perl' is not installed | |
! Bailing out the installation for Net-SFTP-0.10. | |
! Installing XML::SAX::Expat failed. See /tmp/nix-build-bugzilla-XXX.drv-0/.cpanm/work/1481352503.255/build.log for details. Retry with --force to force install it. | |
! Installing the dependencies failed: Module 'Net::SFTP' is not installed |
NewerOlder