A meta-post on the workshop I held for the Section Leaders of Code in Place 2021 entitled “Wrangling Pythons with Nix for Reproducible Purity” Background Much the same as the rationale behind my other presentation meta-posts, that is: I would like to preserve questions I would like to collect the video, slides and other miscellaneous stuff in one location 1 It would be nice to have my own thoughts here afterwards Details Blurb verbatim from the spreadsheet.| rgoswami.me
A meta-post on the workshop I held for the IOP student community on Intermediate C++ Background Much the same as the rationale behind my other presentation meta-posts, that is: I would like to preserve questions I would like to collect the video, slides and other miscellaneous stuff in one location 1 It would be nice to have my own thoughts here afterwards Details Blurb verbatim from the workshop announcement.| rgoswami.me
Short post on making minimal changes to derivations in nixpkgs at a project level using callPackage() along with GH-Actions for deployment of sphinx documentation. Background As part of my work on the Symengine documentation1, I had originally thought of leveraging nix for reproducible builds for each of the language bindings with GH-Actions. There exists a derivation in the upstream package repository, but it was outdated (v6.0.0 instead of v6.0.1) 2.| rgoswami.me
A meta-post on my talk at PyCon India 2020 Background I am to present at PyCon IN 2020. Some of the motivating reasons for having a post are: I would like to preserve questions I would like to collect the video, slides and other miscellaneous stuff in one location 1 It would be nice to have my own thoughts here afterwards Details of this happy circumstance are reproduced below from the CFP here.| rgoswami.me
Automating documentation deployment with Travis, rake and nix Background In the previous post we generated documentation using Doxygen with Exhale to handle Sphinx. Now we will clean up the earlier workflow with rake and ensure the environment is reproducible with nix while deploying to Travis CI. Setup A quick reminder of the setup we generated in the last post: 1tree -d $prj/ -L 2 . ├── docs │ ├── Doxygen │ └── Sphinx ├── nix │ └── pkgs ├── proje...| rgoswami.me
Short post on using mach-nix with niv. Background In previous posts, there was a discussion on a ground up approach to adding packages which aren’t on the core nixpkgs channels using GitHub or PyPi sources. However, this lacked a way to do so programmatically, and also a way to convert existing python projects. Python Dependency Management This time, instead of the more pedagogical approach of building packages from PyPi or GitHub, we will use overlays and the excellent mach-nix to speed up...| rgoswami.me
Background As a prelude to writing up the details of how this site is generated, I realized I should write up a nix oriented workflow for node packages. Tooling and Idea The basic concepts are: Use npm to generate a package-lock.json file Use node2nix in a shell to generate a set of nix derivations Enter a shell environment with the nix inputs Profit However, the nuances of this are a bit annoying at first.| rgoswami.me