<prusnak> rb2k: posted a comment in the issue
<rb2k> ahhh, I was wonderin about the DVI file failure
<rb2k> I have no idea how that worked. I guess the CI build machine has a case sensitive HFS+ ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> I think Nix has special handling for case collisions
xcmw has joined #nix-darwin
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
supersandro2000 has quit [Read error: Connection reset by peer]
supersandro2000 has joined #nix-darwin
supersandro2000 has quit [Client Quit]
supersandro2000 has joined #nix-darwin
rb2k has quit [Ping timeout: 260 seconds]
rb2k has joined #nix-darwin
rb2k has quit [Ping timeout: 246 seconds]
rb2k has joined #nix-darwin
<abathur> hmm
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rb2k has quit [Ping timeout: 260 seconds]
xcmw has joined #nix-darwin
<abathur> anyone know how a standalone `nix-build blah.nix` invocation can access the set-environment script (~ config.system.build.setEnvironment)? I assume I start with something like
rb2k has joined #nix-darwin
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
rb2k has quit [Ping timeout: 260 seconds]
rb2k has joined #nix-darwin
rb2k has quit [Read error: Connection reset by peer]
rb2k_ has joined #nix-darwin
LnL has quit [Quit: exit 1]
rb2k_ has quit [Ping timeout: 260 seconds]
rb2k has joined #nix-darwin
rb2k has quit [Ping timeout: 264 seconds]
<abathur> oops, lol, meant to cut that end part back off
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siraben> Anyone maintaining https://github.com/nix-community/linuxkit-nix still? I find it very useful
hamishmack has quit [Ping timeout: 246 seconds]
ehamberg has quit [Ping timeout: 260 seconds]
hamishmack has joined #nix-darwin
ehamberg has joined #nix-darwin
LnL has joined #nix-darwin
<aterius> When I modified it to also list unavailable packages it choked on the linux kernel as well
<LnL> yeah so forcing v.meta.available to ben evaluated inside the tryEval will ensure errors/assertions are caught
<LnL> also this should list all packages, regardless of their availability (except for evaluation errors)
<aterius> Ah nice, in your snippet?
<LnL> yeah nix-instantiate --eval --strict --json ./query.nix --arg pkgs 'import <nixpkgs> {}'
<aterius> Great, I'll give it a try
<aterius> Also, this is random, but is the best way to evaluate nixpkgs still to shell out to the nix cli and just parse the output? I'm not sure how nixpkgs-review does it/if it would be worth looking into hnix.
<LnL> that will give you supported/broken metadata for all (ish) packages
<aterius> I'm wondering if for a prototype just doing something quick in python using the nix cli is best, or if there's any mature-ish libraries that already handle this for nix
<LnL> the nix-* commands is the only stable api there is
<aterius> That's what I figured ha
<aterius> I haven't looked into nixpgks-review closely, but it, hnix, and rnix-lsp are the only things I could think of that involve traversing nixpkgs
<LnL> so usually your best bet is to generate data in an expression like this and then use the json output to easily serialize/deserialize it afterwards
<aterius> Makes sense :)
<LnL> I don't really know the state of hnix, but it's evaluation was pretty much on par when I last played with it
<aterius> Do you not get msising attributes with your unmodified gist?
<aterius> I added the test for the broken attribute
<LnL> hmm, no
<LnL> are you using unstable? this hasn't been merged super long yet
<aterius> Yes, my channel might be a bit out of date though
<aterius> I'll try updating tomorrow and play around with this (heading to bed now)
<LnL> pointing the script to a checkout instead also works
<aterius> Just did it and it worked!
xanderle has joined #nix-darwin
<xanderle> not sure where else to ask this, but im trying to pip install crytography on my mac, getting a missing `opensslv.h` error... ive installed openssl and openssl.dev anyone have any ideas?
<LnL> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<LnL> I assume you "installed" that with nix-env?
<xanderle> installed using home-manager module for nix-darwin
<xanderle> i did guess using nix-shell was the way to go, but looking at the nix documentation they are happily pip installing so i thought it might be possible
<xanderle> i just wanted cryography in a virtualenv... so i guess making a shell will be the same
<xanderle> OH so i use the shell to install the pip library, once built i can just access it... i thought it would be somehow linked into the store and that shell... ahhh
<LnL> yeah nix-shell -p openssl creates a an environment where pip can build and link stuff against openssl
<LnL> while "installing" openssl just gives you access to the binary nothing more
xanderle has quit [Ping timeout: 260 seconds]
__monty__ has joined #nix-darwin
rb2k has joined #nix-darwin
Mic92 has quit [Quit: WeeChat 3.0]
philr has quit [Ping timeout: 260 seconds]
Mic92 has joined #nix-darwin
kalbasit has joined #nix-darwin
kalbasit has quit [Ping timeout: 256 seconds]
kalbasit has joined #nix-darwin
kalbasit has quit [Remote host closed the connection]
kalbasit has joined #nix-darwin
xcmw has joined #nix-darwin
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
__monty__ has quit [Quit: leaving]
<aterius> The problem I'm running into now is how to extract the dependency tree when you can't actually get the buildInputs for broken packages
<clever> aterius: `import <nixpkgs> { config.allowBroken = true; }` ?
<aterius> Ah I was missing allowUnsupportedSystem in my import
<clever> aterius: also, some deps wont be in buildInputs
<aterius> That's what I'm realizing
<aterius> I've returned buildInputs as part of my json dump of broken nixpkgs but a lot is still missing
<clever> if you want deps, you must run `nix-store -qR` or `-q --tree` on a .drv file
<aterius> Doesn't that require building the derivation?
<aterius> Or that it's instantiable on the current platform?
<clever> aterius: you can just instantiate it with nix-instantiate, and skip the build
<clever> aterius: you can also `import <nixpkgs> { system = "x86_64-linux"; }` to instantiate for linux instead of darwin
<clever> some packages have the deps differ based on arch
<aterius> That's good to know, I'd like to instantiate for darwin since my goal is to identify the high value targets in darwin packaging
<aterius> Hmm, even though I have allowUnsupportedSystem I still get eval errors on i686 packages