Skip to content

Instantly share code, notes, and snippets.

View GaetanLepage's full-sized avatar

Gaétan Lepage GaetanLepage

View GitHub Profile
{"lastUpload":"2019-11-02T13:40:11.003Z","extensionVersion":"v3.4.3"}
@GaetanLepage
GaetanLepage / build_log.txt
Created October 19, 2022 07:36
mprocs 0.6.3 build log
this derivation will be built:
/nix/store/wx71lsraka7p289ib2qgx8ym5rfvl4n5-mprocs-0.6.3.drv
building '/nix/store/wx71lsraka7p289ib2qgx8ym5rfvl4n5-mprocs-0.6.3.drv'...
unpacking sources
unpacking source archive /nix/store/0czrb722g6v4lfwwr339xsak1iccanj5-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/8lq8garmcrs52x02f4x6sd0mqj58swa0-mprocs-0.6.3-vendor.tar.gz
Finished cargoSetupPostUnpackHook
patching sources
@GaetanLepage
GaetanLepage / .envrc
Created December 6, 2022 08:26
Python environment
#!/bin/sh
use flake .#intel
source venv/bin/activate
@GaetanLepage
GaetanLepage / build_log.txt
Created December 12, 2022 08:38
python310Packages.autopep8 build log
$ nix-build . -A python310Packages.autopep8
this derivation will be built:
/nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv
building '/nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv'...
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
@GaetanLepage
GaetanLepage / nixpkgs-review-neovim-update.txt
Last active December 30, 2022 11:51
nixpkgs-review output for neovim 0.8.1 -> 0.8.2 update
-> nixpkgs-review rev HEAD
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0
$ git worktree add /home/gaetan/.cache/nixpkgs-review/rev-a63316c34e6f30fad9b61c7dc37d558a2397d9e3/nixpkgs a3f612564c15e8471dd17c15efaf7ede83c57763
Preparing worktree (detached HEAD a3f612564c1)
Updating files: 100% (33048/33048), done.
HEAD is now at a3f612564c1 Merge pull request #201921 from fabaff/proxy-py-fix
$ nix-env --option system x86_64-linux -f /home/gaetan/.cache/nixpkgs-review/rev-a63316c34e6f30fad9b61c7dc37d558a2397d9e3/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
$ git merge --no-commit --no-ff a63316c34e6f30fad9b61c7dc37d558a2397d9e3
Automatic merge went well; stopped before committing as requested
$ nix-env --option system x86_64-linux -f /home/gaetan/.cache/nixpkgs-review/rev-a63316c34e6f30fad9b61c7dc37d558a2397d9e3/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta
❮ nixpkgs-review pr 202587
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/202587/head:refs/nixpkgs-review/1
$ git worktree add /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs 68dfc37fa91d059c2eeda99e5b7f822f47a5a7aa
Preparing worktree (detached HEAD 68dfc37fa91)
Updating files: 100% (33060/33060), done.
HEAD is now at 68dfc37fa91 Merge pull request #208464 from r-ryantm/auto-update/tile38
$ nix-env --option system x86_64-linux -f /home/gaetan/.cache/nixpkgs-review/pr-202587-3/nixpkgs -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
$ git merge --no-commit --no-ff 892512dafcfcad172f80312bcce64271c2ff581a
Auto-merging pkgs/top-level/all-packages.nix
Automatic merge went well; stopped before committing as requested
@GaetanLepage
GaetanLepage / nixvim.nix
Last active June 18, 2024 14:09
Example of a nixvim configuration
{
programs.nixvim = {
enable = true;
vimAlias = true;
# Configure neovim options...
options = {
relativenumber = true;
incsearch = true;
};
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/svk2zlvxx52hpqwkf3pxzah05wngq5i3-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/5aqdrk5y1nh0gnna1bpgi2hydy7wr0sz-julia-1.9.0-linux-x86_64.tar.gz
source root is julia-1.9.0
setting SOURCE_DATE_EPOCH to timestamp 1683528303 of file julia-1.9.0/share/julia/test/worlds.jl
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/7gqrdapyc192sk1q3jxkv6c8h1zsfac5-0001-allow-skipping-internet-required-tests.patch
patching file share/julia/test/choosetests.jl
@nix { "action": "setPhase", "phase": "configurePhase" }
{pkgs, ...}: let
nu-grammar = pkgs.tree-sitter.buildGrammar {
language = "nu";
version = "0.0.0+rev=358c4f5";
src = pkgs.fetchFromGitHub {
owner = "nushell";
repo = "tree-sitter-nu";
rev = "2d0dd587dbfc3363d2af4e4141833e718647a67e";
hash = "sha256-A0Lpsx0VFRYUWetgX3Bn5osCsLQrZzg90unGg9kTnVg=";
};