profile
viewpoint
Rehno Lindeque rehno-lindeque CircuitHub Pretoria, South Africa http://rehno.lindeque.name/ Co-founder at CircuitHub

puffnfresh/roy 830

Small functional language that compiles to JavaScript.

rehno-lindeque/adt.js 32

Algebraic data types for JavaScript

ocharles/opaleye-tf 13

An alternative interface to Opaleye, built around type families

rehno-lindeque/Blender-WebGL-exporter 13

A fork of the blender webgl exporter at http://code.google.com/p/blender-webgl-exporter/

rehno-lindeque/adt-html.js 3

Treat HTML like any old Algebraic Data Type

rehno-lindeque/adt-typecheck-signature.js 3

Typecheck your JavaScript function parameters

rehno-lindeque/adt-typecheck.js 3

Type check your JavaScript data structures

rehno-lindeque/bimserver 3

just testing if github is fast enough for BIMserver

rehno-lindeque/adt-svg.js 2

Treat SVG like any old Algebraic Data Type

rehno-lindeque/adt-util.js 2

Practical, generic utilities for working with adt.js

push eventrehno-lindeque/wip

push time in 33 minutes

create barnchrehno-lindeque/dotfiles

branch : flake

created branch time in 7 hours

create barnchrehno-lindeque/dotfiles

branch : legacy

created branch time in 7 hours

push eventrehno-lindeque/dotfiles

Rehno Lindeque

commit sha 46c669cc0a0450da272316c7be79d242ab85816a

misc

view details

push time in 7 hours

Pull request review commentNixOS/nixpkgs

amazon-s3-plugin-for-pytorch: init at 0.0.1

+{ buildPythonPackage+, aws-sdk-cpp+, cmake+, curl+, fetchFromGitHub+, lib+, pybind11+, pytorch+, zlib+}:++let+  aws-sdk-cpp-s3-transfer = (aws-sdk-cpp.override {+    apis = ["s3" "transfer"];+    customMemoryManagement = false;+  }).overrideAttrs (oldAttrs: {++    # Fixes downstream issue with dependent CMake configuration+    # See https://github.com/NixOS/nixpkgs/issues/70075#issuecomment-1019328864+    postPatch = oldAttrs.postPatch + ''+      substituteInPlace cmake/AWSSDKConfig.cmake \+        --replace "\''${AWSSDK_DEFAULT_ROOT_DIR}/\''${AWSSDK_INSTALL_INCLUDEDIR}" "\''${AWSSDK_INSTALL_INCLUDEDIR}"+    '';++});+in+buildPythonPackage rec {+  pname = "amazon-s3-plugin-for-pytorch";++  version = "0.0.1-38284c8"; # No official release published yet

No official pypi release or github tag yet, the version.py just states0.0.1. Not sure what nixpkgs inclusion criteria on this is.

rehno-lindeque

comment created time in a day

PullRequestReviewEvent

Pull request review commentNixOS/nixpkgs

amazon-s3-plugin-for-pytorch: init at 0.0.1

+{ buildPythonPackage+, aws-sdk-cpp+, cmake+, curl+, fetchFromGitHub+, lib+, pybind11+, pytorch+, zlib+}:++let+  aws-sdk-cpp-s3-transfer = (aws-sdk-cpp.override {+    apis = ["s3" "transfer"];+    customMemoryManagement = false;+  }).overrideAttrs (oldAttrs: {++    # Fixes downstream issue with dependent CMake configuration+    # See https://github.com/NixOS/nixpkgs/issues/70075#issuecomment-1019328864+    postPatch = oldAttrs.postPatch + ''+      substituteInPlace cmake/AWSSDKConfig.cmake \+        --replace "\''${AWSSDK_DEFAULT_ROOT_DIR}/\''${AWSSDK_INSTALL_INCLUDEDIR}" "\''${AWSSDK_INSTALL_INCLUDEDIR}"+    '';

This is related to https://github.com/NixOS/nixpkgs/issues/70075#issuecomment-1019328864 and probably needs to be fixed more directly in aws-sdk-cpp.

rehno-lindeque

comment created time in a day

PullRequestReviewEvent

push eventrehno-lindeque/nixpkgs

Sandro Jäckel

commit sha 02232b6ad000e8717879ded5a69e1485ed17b23e

python39Packages.cairocffi: 1.2.0 -> 1.3.0

view details

InfinityGhost

commit sha a9581967f798032ab04cc3d951b3c430271bb794

opentabletdriver: v0.5.3.3 -> v0.6.0.2

view details

Sandro Jäckel

commit sha ff402748b330773e91a9c66166a080afee7211d0

yle-dl: 20210917 -> 20211213

view details

Sandro Jäckel

commit sha 29a69a765308793476b3738f8003b8781c051b5f

python39Packages.google-cloud-testutils: 1.3.0 -> 1.3.1

view details

Sandro Jäckel

commit sha 0fbc9cb65354847b59feb9f541a1982cde2bdae2

python39Packages.google-cloud-tasks: 2.7.1 -> 2.7.2

view details

Sandro

commit sha d5f90c9b7241f60a8c305370d728fdc6fb3c5a9c

Merge pull request #155279 from SuperSandro2000/tempest

view details

Sandro Jäckel

commit sha ae9540f08f651971baf88081f869c283069257d2

python39Packages.google-cloud-storage: 1.44.0 -> 2.0.0

view details

Sandro Jäckel

commit sha 43d9f800f7e293b848d219d1554cc45ebe237b25

python39Packages.google-cloud-datacatalog: 3.6.1 -> 3.6.2

view details

Sandro Jäckel

commit sha c3b9a648ba8fa45d865827567d8908d051781ad5

python39Packages.google-api-core: 2.2.2 -> 2.4.0

view details

Sandro Jäckel

commit sha cd330a1666a1d5e4aa6465fb188f4456bda6daee

python39Packages.google-cloud-bigquery: 2.31.0 -> 2.32.0

view details

legendofmiracles

commit sha 583a5c9f934051fc233811f11fe4c6c7636af654

Merge pull request #154637 from schnusch/firefox_decrypt

view details

Thiago Kenji Okada

commit sha 1e2b159b947030601d5e32992517e8e559f26e3e

Merge pull request #155283 from InfinityGhost/update/opentabletdriver opentabletdriver: v0.5.3.3 -> v0.6.0.2

view details

Daniel Patterson

commit sha 4cdd27d415726f630947ebee2e10f19b88fd2840

aerc: 0.6.0 -> 0.7.1

view details

Justin Bedő

commit sha dfa93a472533cba8462f8014937afbfa4c0f1b9b

Merge pull request #95831 from cfhammill/cfh/add-rstudio-server rstudio-server: Initial commit for rstudio-server and associated wrapper

view details

Bobby Rong

commit sha 896b959497a34bb1076d5a7edbc4122396ada1a2

Merge pull request #155196 from veprbl/pr/broken_i3lock-color i3lock-color: mark as broken on darwin

view details

Bobby Rong

commit sha 5f6ea5806d35695675e11f2869e442d1c02ceea7

Merge pull request #155197 from veprbl/pr/broken_inav-blackbox-tools inav-blackbox-tools: mark as broken on darwin

view details

Bobby Rong

commit sha 9e779f01cadea02806b59d3b1dfa285f8f129f48

Merge pull request #155226 from Stunkymonkey/fbterm-refactor fbterm: refactor

view details

Aaron Andersen

commit sha e868f509bb521d4958f1cc03862197872a50d12d

zabbix: 4.0.35 -> 4.0.37

view details

Aaron Andersen

commit sha 8ede4d3977f32cf39ee1e57fa5d5aa7ed90d2d9c

zabbix: 5.0.17 -> 5.0.19

view details

Morgan Jones

commit sha e6415e1dc266204575affe723fbd1843f1e68cb7

mattermost: 6.2.1 -> 6.3.0 (extended support release)

view details

push time in a day

issue commentNixOS/nixpkgs

aws-sdk-cpp does not work with cmake's find_package()

Seems like https://github.com/NixOS/nixpkgs/commit/ff3f5bb60c7f27c45832ae73eeacce931f77b625#diff-bb198faaa0e40668ef72c8354e3e431dfd37426d45229c6f3c6fa3174652d570 removes portions of the cmake-dirs.patch that deals with this.

Partially rolling back this change seems like it might solve this.

timclemons

comment created time in a day

issue commentNixOS/nixpkgs

aws-sdk-cpp does not work with cmake's find_package()

This is a workaround I found that fixes the issue:

let
  aws-sdk-cpp-s3-transfer = (aws-sdk-cpp.override {
    apis = ["s3" "transfer"];
  }).overrideAttrs (oldAttrs: {
  
    # Fixes cmake issue in dependent packages (see https://github.com/NixOS/nixpkgs/issues/70075)
    postPatch = oldAttrs.postPatch + ''
      substituteInPlace cmake/AWSSDKConfig.cmake \
        --replace "\''${AWSSDK_DEFAULT_ROOT_DIR}/\''${AWSSDK_INSTALL_INCLUDEDIR}" "\''${AWSSDK_INSTALL_INCLUDEDIR}"
    '';

  });
in
  mkDerivation { ... }

It should be possible to trace back to the root problem somehow from here:

https://github.com/aws/aws-sdk-cpp/blob/74a1396f93bdcd5e3c3bed25fa73ac472961e55e/cmake/AWSSDKConfig.cmake#L79-L96

if (AWSSDK_ROOT_DIR)
    find_file(AWSSDK_CORE_HEADER_FILE Aws.h
            "${AWSSDK_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
            "${AWSSDK_DEFAULT_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
            )
else()
    find_file(AWSSDK_CORE_HEADER_FILE Aws.h
        "${AWSSDK_DEFAULT_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "/usr/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "/usr/local/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "C:/Progra~1/AWSSDK/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "C:/Program Files/AWSSDK/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "C:/Program Files/aws-cpp-sdk-all/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "C:/Program Files (x86)/aws-cpp-sdk-all/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
        "C:/AWSSDK/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
    )
endif()

I'm not clear as to why these variables end up different when using find_package(AWSSDK)

timclemons

comment created time in a day

startedPonz91/HistoEnder

started time in 2 days

starteddanielfullmer/robotnix

started time in 5 days

push eventrehno-lindeque/ml-pkgs

Rehno Lindeque

commit sha 1055ed5d0ca88d5662894e5efc0b6ca4f9409671

more versatile flake overlay outputs

view details

Rehno Lindeque

commit sha ee4e7939dd63455d083063d818846c652d7a6940

keras: init at 2.7.0

view details

push time in 8 days

startedi-am-tom/holmes

started time in 12 days

startedi-am-tom/haskell-exercises

started time in 12 days

startedrui314/mold

started time in 23 days

startednumtide/devshell

started time in a month

pull request commentNixOS/nixpkgs

realesrgan-ncnn-vulkan: init at 0.1.3.2

This may be a naive suggestion, but given that it's asking for SPIRV-Tools-opt, have you tried adding spirv-tools to the build inputs?

TilCreator

comment created time in a month

issue commentaws/amazon-s3-plugin-for-pytorch

ModuleNotFoundError: No module named '_pywrap_s3_io'

Hi, I'm having the same problem while attempting to package this for the nix package manager.

Would you mind running ls on the build path so that I could compare my build output? (shown below)

$ ls -R build
build:
bdist.linux-x86_64  lib.linux-x86_64-3.9

build/bdist.linux-x86_64:

build/lib.linux-x86_64-3.9:
aws_io.cpython-39-x86_64-linux-gnu.so  awsio

build/lib.linux-x86_64-3.9/awsio:
__init__.py  _version.py  python

build/lib.linux-x86_64-3.9/awsio/python:
__init__.py  lib

build/lib.linux-x86_64-3.9/awsio/python/lib:
__init__.py  io

build/lib.linux-x86_64-3.9/awsio/python/lib/io:
__init__.py  s3

build/lib.linux-x86_64-3.9/awsio/python/lib/io/s3:
__init__.py  s3dataset.py
piupiuisland

comment created time in a month

PR opened NixOS/nixpkgs

amazon-s3-plugin-for-pytorch: init at 0.0.0 (WIP)

Unfortunately I ran out of steam trying to package this python library, but I thought I'd leave a draft PR for posterity in case someone wants to pick it up in future.

The two obstacles I couldn't quite work out how to fix properly were:

$ ls -R build
build:
bdist.linux-x86_64  lib.linux-x86_64-3.9

build/bdist.linux-x86_64:

build/lib.linux-x86_64-3.9:
aws_io.cpython-39-x86_64-linux-gnu.so  awsio

build/lib.linux-x86_64-3.9/awsio:
__init__.py  _version.py  python

build/lib.linux-x86_64-3.9/awsio/python:
__init__.py  lib

build/lib.linux-x86_64-3.9/awsio/python/lib:
__init__.py  io

build/lib.linux-x86_64-3.9/awsio/python/lib/io:
__init__.py  s3

build/lib.linux-x86_64-3.9/awsio/python/lib/io/s3:
__init__.py  s3dataset.py

References:

Things done
  • Built on platform(s)
    • [ ] x86_64-linux
    • [ ] aarch64-linux
    • [ ] x86_64-darwin
    • [ ] aarch64-darwin
  • [ ] Tested, as applicable:
  • [ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • [ ] Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • [ ] (Package updates) Added a release notes entry if the change is major or breaking
    • [ ] (Module updates) Added a release notes entry if the change is significant
    • [ ] (Module addition) Added a release notes entry if adding a new NixOS module
    • [ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • [ ] Fits CONTRIBUTING.md.
+71 -0

0 comment

1 changed file

pr created time in a month

push eventrehno-lindeque/nixpkgs

Rehno Lindeque

commit sha 0689e98f904fb35d8471745909f925725d36294a

amazon-s3-plugin-for-pytorch: init at 0.0.0 (wip)

view details

push time in a month

create barnchrehno-lindeque/nixpkgs

branch : amazon-s3-plugin-for-pytorch

created branch time in a month

issue commentNixOS/nixpkgs

aws-sdk-cpp does not work with cmake's find_package()

(As far as I can tell #85254 by @thequux doesn't seem to have resolved the issue)

timclemons

comment created time in a month

issue commentNixOS/nixpkgs

aws-sdk-cpp does not work with cmake's find_package()

This is still important to me.

(I have this error when trying to package https://github.com/aws/amazon-s3-plugin-for-pytorch which relies on aws-sdk-cpp):

-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/da9l6ifizmh883j94gzx5n51h8lrrp00-gcc-wrapper-10.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/da9l6ifizmh883j94gzx5n51h8lrrp00-gcc-wrapper-10.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /nix/store/1xsv6ykl54q7107vsyqvd098s740qvkn-python3-3.8.12/bin/python3.8 (found version "3.8.12") found components: Interpreter Development Development.Module Development.Embed
CMake Error at /nix/store/kaaffkrfxgb9n53bbb9vagdhpxjlyzgj-aws-sdk-cpp-1.9.121-dev/lib/cmake/AWSSDK/AWSSDKConfig.cmake:86 (message):
  AWS SDK for C++ is missing, please install it first
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)
timclemons

comment created time in a month

pull request commentaws/aws-sdk-cpp

Make generated CMake files valid when install paths are absolute

Hi, another nix user here - just wanted to bump this PR since it's been a while since it was raised and I encountered the same problem.

thequux

comment created time in a month

startedandriusstank/downhill

started time in a month

startedjunjun3518/alias-free-torch

started time in a month

issue commentNixOS/nixos-hardware

Framework Support

Worth linking those two blog articles here I think

  • https://grahamc.com/blog/nixos-on-framework
  • http://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html
Emiller88

comment created time in a month

push eventrehno-lindeque/ml-pkgs

Rehno Lindeque

commit sha 98ced81474fd58027b3718fc47e3d7c18551cf16

einops: init at 0.3.2

view details

Rehno Lindeque

commit sha 81e56af570dd81ad18b33017daf1dbb612c56d4e

pytorch: init at 1.9.0

view details

Rehno Lindeque

commit sha 82b7fc46dee397c76180135ebaab9f4a763f0ceb

pytorch-bin: 1.7.1 -> 1.10.0

view details

push time in a month

more