<tdeo>
(specifically wondering whether having a package in pythonPackages have binaries over just having one output with a duplicated pythonPackage)
winem_ has quit [Ping timeout: 240 seconds]
<infinisil>
aanderse: It seems like it, I mean they apparently don't honor systemd.tmpfiles
<aanderse>
infinisil: well i hope i can dig into it at some point soon...
jmeredith has quit [Quit: Connection closed for inactivity]
Jetien has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
LogicAside has joined #nixos
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tmaekawa has joined #nixos
o1lo01ol1o has joined #nixos
bgamari has quit [Ping timeout: 276 seconds]
bgamari has joined #nixos
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 245 seconds]
n0qqe is now known as noqqe
gagbo has quit [Ping timeout: 258 seconds]
tboston_ has joined #nixos
neeasade has joined #nixos
<neeasade>
how can I print the path to the nix-store of a package?
cdepillabout has quit [Quit: Leaving]
<tdeo>
nix-build '<nixpkgs>' -A name
<bb010g>
Rust packages are supposed to be reproducible, right? Having the following `nix-store -r --check` error on `ixllckxdlq1yrwilyf98jnbb0977qpi9-rust_ucd-util-0.1.3.drv` (output `p82sga8cw6m57k73zp5vfgvgzjh9ir9g-rust_ucd-util-0.1.3`): https://wank.party/a2Qt.html (diffoscope HTML output)
Qubasa has quit [Ping timeout: 255 seconds]
Qubasa has joined #nixos
<neeasade>
tdeo: when I run that, I just get a failure because there is no default.nix in my current dir
<neeasade>
tdeo: my bad, typo -- thank you!!!!
tboston_ has quit [Ping timeout: 250 seconds]
<bb010g>
This looks like a major compiler config / versioning thing, not normal order shuffling or random string nondet
o1lo01ol1o has quit [Remote host closed the connection]
<bb010g>
neeasade: something handy I found on Zsh related to that is `nix-store -qd =jq(:P)` (or whatever your command in PATH is), =cmd filename expansion gives the path of the command, :P history colon modifier chases symlinks to get to its initial store path, and -qd (--query --deriver) gives the derivation that produced it
<bb010g>
you can then chain that into fun stuff like `nix-store -r "$(nix-store -qb src "$(…)")"` to get the path to the source archive/folder for anything on your path
<neeasade>
I'll have to try that out, thank you --- I'm using the above for a hack where I'm putting libGL in my ld_library_path for a thing
<mabel>
I'm trying to get hydra to work in a docker container. what do I need to do in order to make it work?
jmeredith has joined #nixos
<mabel>
I'm worried in particular because I want the rpaths to be /nix/store/... in the resulting cache like normal, but the container itself is built with nix so there's already stuff in /nix/store
pie_ has joined #nixos
init_6 has joined #nixos
tmaekawa has quit [Ping timeout: 245 seconds]
tboston_ has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
<pie_>
something in my alacritty config broke on upgrading (?) to 19.03 and now its giving me an error
<pie_>
did anyone else run into this
<pie_>
its probably an easy fix with the config file
<samueldr>
what kind of error?
<samueldr>
red bar at the bottom?
<samueldr>
I had some to fix yes
exarkun has quit [Ping timeout: 246 seconds]
alex```1 has joined #nixos
slyfox has quit [Ping timeout: 244 seconds]
alex``` has quit [Ping timeout: 255 seconds]
<pie_>
yeah, i just needed to fix some options apparently.
ardumont has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
slyfox has joined #nixos
Ralith_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
acarrico has joined #nixos
fresheyeball has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
kleisli has quit [Ping timeout: 246 seconds]
softinio has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<pie_>
damn, updated, at least some things crash in wine now
tboston_ has joined #nixos
nD5Xjz has joined #nixos
softinio has quit [Remote host closed the connection]
stepcut has quit [Ping timeout: 245 seconds]
tboston_ has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
pie_ has quit [Ping timeout: 258 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
stepcut has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
iqubic has joined #nixos
<iqubic>
I have returned to IRC
kleisli has joined #nixos
softinio has joined #nixos
ardumont has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @dtzWill opened pull request #60352 → font-manager: "0.7.5" -> actual 0.7.5 → https://git.io/fjG35
<iqubic>
Why is Pulse Audio so darn confusing to use?
<iqubic>
Like I want to take two sources and combine together,
<iqubic>
I have this audio recording program, but it only lets me select one PA source. I want this program to record both my microphone and the audio coming from Firefox.
<rooke>
I just installed nix on my linux box to explore a bit. nix-shell is behaving really strangley, when I try to delete character it moves the cursor forward and shows no visual feedback of having deleted the character. Was curious if anyone had any idea where to look for what may be causing this?
tboston_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
<ivan>
rooke: which terminal emulator?
<gchristensen>
sounds like your termcap is mucked up somehow, as a quick fix try: export TERM=vt100
<rooke>
ivan: urxvt
<gchristensen>
I need to head to bed, so I'll leave it with ivan :)
<rooke>
that export fixed it
<ivan>
yeah, like I know anything about terminals
<ivan>
I finally figured out exactly when lose almost all of my zsh history: nix-shell startup/exit (how does this even make sense given that nix-shell uses bash?)
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<ivan>
oh, it inherits HISTFILE=, ugh
<jasom>
I'm using buildFHSUserEnv with nix-shell and noticed that I end up losing all of my groups in the shell; in particular I need the video group. How do I do this?
<dtz>
ivan: yeah, I set my HISTFILE to something zsh-specific and am careful to not export it (so subprocesses don't get it)
<ivan>
dtz: any idea why this would happen when I don't `export` HISTFILE in zshrc?
<dtz>
at least twice our global zsh init files were changed to do this incorrectly, but i'm not sure if that was ever on a release branch
<ivan>
do I need to unexport it
<dtz>
first let's check if that's indeed your problem ;). try.... `typeset -p HISTFILE`
nD5Xjz has quit [Ping timeout: 246 seconds]
<dtz>
if it says 'typeset HISTFILE=....' then you're good, if 'export HISTFILE=...' then bad O:)
softinio has quit [Remote host closed the connection]
<jasom>
more googling tells me that it's not possible to get supplementary groups in a user namespace, so I'll use docker instead.
acarrico has quit [Ping timeout: 246 seconds]
<clever>
jasom: thats likely also why nix doesnt use the kvm group on /dev/kvm, but rather, 777
<dtz>
ivan: okay so yeah it's being export'd and that'll cause the problem... check your various zsh init files, maybe even just.. 'grep HISTFILE /etc/z* ~/.z*' as a loose quick check.
<gchristensen>
doesn't docker also use user namespaces?
<ivan>
dtz: I checked nixpkgs and my configuration and they seem good
<clever>
gchristensen: docker has root though, so it can create a duplicate of /dev/ nodes, and chown/chgrp them from the containers namespace
<ivan>
dtz: bizarre stuff, I'll try to track it down
<gchristensen>
ah
<clever>
gchristensen: oh, and nix-daemon could do the same, lol
<dtz>
well can try sifting through `zsh -v` or so, but okay at least you have a thing to chase down now :)
<clever>
that will replace what `import` does within the imported file
<numinit>
./path-to-file.nix likely being `<nixpkgs>/development/.../androidenv` ?
<clever>
you can then pass the function it returns to callPackage to provide it the args it originally wanted
<clever>
yeah
<numinit>
nice, clever trick
<clever>
then you just need to modify the import function to both recurse/spread-like-a-virus (when importing, it should use scopedImport moar!), and also to detect the filename in question, and import the "wrong" thing
Glider_IRC__ has quit [Ping timeout: 258 seconds]
kleisli has quit [Remote host closed the connection]
softinio has joined #nixos
kleisli has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
nD5Xjz has quit [Ping timeout: 258 seconds]
<numinit>
hmm, what's the idiomatic way to do "path ends in"
<numinit>
path to string and builtins.match?
<numinit>
eh, baseNameOf, probably
tboston_ has joined #nixos
Shouou has quit [Ping timeout: 258 seconds]
softinio has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
fusion809 has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
Jetien has joined #nixos
nD5Xjz has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed to master « Revert "all-packages.nix: Don't recurse into 'tests'", fix eval release.nix »: https://git.io/fjGsz
<jasonk000[m]>
or just continuing on with arch as-is
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo1 has joined #nixos
<ivan>
jasonk000[m]: what kind of isolation do you mean?
tboston_ has quit [Ping timeout: 245 seconds]
<simpson>
jasonk000[m]: If you can only use Nix if your entire team will also use Nix, then Nix might not be the right choice for your situation.
jasongrossman has joined #nixos
bpye has joined #nixos
bpye has quit [Changing host]
bpye has joined #nixos
bpye has quit [Changing host]
<jasonk000[m]>
ivan: for example , i was doing work on bpftrace recently, using llvm + clang
<jasonk000[m]>
this was only for a short period
<jasonk000[m]>
and i feel like over time i end up with tons of stuff on my system
<jasonk000[m]>
@simps
<simpson>
Sure. This is an understandable concern.
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
<jasonk000[m]>
simpson: it's not an issue if i have nix on mine, i don't expect everyone to use nix, but to use nix for managing dev environment i am guessing i should be sharing the nix pkg config
<jasonk000[m]>
and then have all the team use nix
<jasonk000[m]>
i'm not sure it makes much sense if the rest of the team is working on a repo and using something different
<jasonk000[m]>
i do like the ideas behind nix
<simpson>
Nix is a giant step. It can be hard to move an entire team at once. You'll need to get everybody to experience Nix and be comfortable with it first.
pi1 has joined #nixos
<jasonk000[m]>
why would i do that compared to "build with a dockerfile"
pi1 has quit [Client Quit]
<simpson>
I don't know. But those things aren't exclusive; `FROM nixos/nix` is a thing that can be done in Dockerfiles.
<jasonk000[m]>
hmm, thanks simpson , i might keep looking
<numinit>
getting "value is a path while a set was expected" for some reason - docs on scopedImport are pretty nonexistent AFAICT?
<numinit>
it seems like I'm using it right in my nix repl
ctp has joined #nixos
jasom has quit [Ping timeout: 250 seconds]
nD5Xjz has quit [Ping timeout: 245 seconds]
jasom has joined #nixos
<numinit>
never done viral recursive scopedImport stuff before... this is out of my normal Nix fare...
tboston_ has joined #nixos
manveru has quit [Ping timeout: 268 seconds]
manveru has joined #nixos
nD5Xjz has joined #nixos
<numinit>
heh, well, import takes a single argument, for one
tboston_ has quit [Ping timeout: 258 seconds]
ricekrispie2 has joined #nixos
ricekrispie has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
nD5Xjz_ has joined #nixos
tg has quit [Ping timeout: 245 seconds]
puck has quit [Remote host closed the connection]
puck has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
tg has joined #nixos
init_6 has quit [Ping timeout: 258 seconds]
<Gopal[m]>
also, how would I go about disabling or masking systemd units?
diamondbond_ has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
diamondbond_ has quit [Max SendQ exceeded]
monsieurp has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
diamondbond_ has quit [Max SendQ exceeded]
diamondbond has quit [Ping timeout: 246 seconds]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<Gopal[m]>
<Gopal[m] "also, how would I go about disab"> .
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<kalbasit>
is it possible to collect garbage from a particular gc root?
mexisme has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz_ has quit [Ping timeout: 258 seconds]
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
mkoenig has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
cdepillabout has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb>
kalbasit: "from" ? Save the path to what it's pointing to, remove the root, nix-store --delete the path
callahad has quit [Ping timeout: 268 seconds]
diamondbond_ has joined #nixos
callahad has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb>
kalbasit: More generally, you usually keep roots around to everything you _do_ want to keep, and then just garbage collect normally.
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<kalbasit>
srhb: I'm looking to automatically run the garbage collector to collect only the garbage generated by previous generations of the project setup. But for about 100 developers, so I don't want to collect garbage globally
diamondbond_ has joined #nixos
<srhb>
kalbasit: I think the right approach is still to keep roots around to everything you do want to keep. Otherwise you're basically reimplementing the entire gc root system. If that's what you want, maybe look at how Hydra does (essentially...) the same thing.
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
<kalbasit>
srhb: so any time I make a change to the monorepo setup, I generate a new root under .direnv/root-hash (the hash is just sha256 of the contents of shell.nix and related files)
diamondbond_ has quit [Max SendQ exceeded]
nD5Xjz has joined #nixos
<kalbasit>
so the idea is to automatically collect old environments once every 10 days
<kalbasit>
as it changes a lot
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb>
kalbasit: Why not just automate gc freeing when you're low on space?
diamondbond_ has joined #nixos
<srhb>
The problem with trying to do targeted gc is that you have to make active decisions on how far down the tree you want to attempt to collect.
<srhb>
It's not impossible, but it's not easily practical either.
<kalbasit>
I see what you mena
<kalbasit>
mean *
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<kalbasit>
alright then, I'll provide documentation for now until I figure out a better way to do it.
<kalbasit>
srhb: thx!
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
linarcx has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
Jetien has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<numinit>
why might using <nixpkgs> not work when a relative path to a local nixpkgs clone does?
diamondbond_ has quit [Max SendQ exceeded]
<numinit>
(my NIX_PATH is correct)
npmccallum has quit [Ping timeout: 250 seconds]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<{^_^}>
[nixpkgs] @FRidh merged pull request #59811 → python: provide hasCxxDistutils attribute for pythonPackages.numpy → https://git.io/fjYxC
<{^_^}>
[nixpkgs] @FRidh pushed commit from @veprbl to staging « python: provide hasCxxDistutils attribute for pythonPackages.numpy »: https://git.io/fjGGp
<numinit>
that effectively replaces anything in `<nixpkgs/pkgs/development/mobile/androidenv>` that tries to import `packages.nix` with a different copy
<numinit>
then uses callPackage to instantiate it
<tilpner>
That is horrible (I like it)
<numinit>
yep, it's pretty awful
<tilpner>
I'm not sure it's correct though
<numinit>
I'm not sure it is either
<tilpner>
The Nix example (tests/lang/eval-okay-import.nix) also overrides builtins and scopedImport, not just import
<numinit>
ha, yeah, I guess that's why I could continue using builtins
<numinit>
might have to move that function up a closure to get all of them
orivej has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
ixxie has joined #nixos
tboston_ has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @LinArcX opened pull request #60359 → monaco: init at unstable-2012-06-03 → https://git.io/fjGZo
nD5Xjz_ has quit [Ping timeout: 258 seconds]
ambro718 has joined #nixos
nD5Xjz has joined #nixos
amfl_ has joined #nixos
shabius has joined #nixos
amfl has quit [Ping timeout: 255 seconds]
scma has joined #nixos
noqqe has quit [Quit: WeeChat 1.9.1]
shabius_ has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 246 seconds]
linarcx has quit [Quit: WeeChat 2.4]
abc has joined #nixos
scma has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
abc has left #nixos ["Good Bye"]
linarcx has quit [Client Quit]
fendor has joined #nixos
kaliumxyz has quit [Ping timeout: 258 seconds]
<JaakkoLuttinen[m>
Is it possible to have multiple desktop environments set up so that I can choose between, for instance, KDE and i3 during log in time?
<symphorien>
this is what happens if you enable several ones at a time
<{^_^}>
[nixpkgs] @ahiaao opened pull request #60360 → Added missing dependency needed for testing flent → https://git.io/fjGZQ
linarcx has joined #nixos
<{^_^}>
[nixpkgs] @Ma27 merged pull request #60309 → documize-module: refactor and add more options → https://git.io/fjGvG
<bifunc2>
search for this "works for darwin by using this modified version of hello.nix" on the site
<bifunc2>
there's nothing there :S
ardumont has quit [Ping timeout: 246 seconds]
thc202 has joined #nixos
<JaakkoLuttinen[m>
How can I easily just copy a file `./foo/bar` to store under `/etc/xdg/john/doe`? I tried `copyPathToStore` but that doesn't allow me to set the store path and filename..
<{^_^}>
[nixpkgs] @ambrop72 opened pull request #60365 → buildEnv: Don't warn about collisions if contents match when ignoreCollisions=true. → https://git.io/fjGnA
Rovanion has quit [Ping timeout: 255 seconds]
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rooke has quit [Ping timeout: 246 seconds]
xorAxAx has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @juaningan opened pull request #60366 → pythonPackages.pysonos: init at 0.0.11 → https://git.io/fjGnp
ambro718 has quit [Quit: Konversation terminated!]
linarcx has joined #nixos
xorAxAx has joined #nixos
ambro718 has joined #nixos
Rovanion has joined #nixos
silver has joined #nixos
<{^_^}>
[nixpkgs] @basvandijk opened pull request #60367 → wireshark: init at 0.9.8-a8faf36 & trace-cmd: 2.6 -> 2.8-a8faf36 → https://git.io/fjGcq
diamondbond has joined #nixos
diamondbond has quit [Remote host closed the connection]
Anton-Latukha has joined #nixos
zupo has joined #nixos
ardumont has quit [Ping timeout: 250 seconds]
tboston_ has joined #nixos
<yorick>
111300 store paths deleted, 155545.73 MiB freed neat
ardumont has joined #nixos
ris has joined #nixos
<sphalerite>
can I get nixops to build the system configurations on the target machines?
tboston_ has quit [Ping timeout: 246 seconds]
Jetien has joined #nixos
linarcx has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
Jetien has quit [Ping timeout: 250 seconds]
LogicAside has quit [Ping timeout: 246 seconds]
NickSeagull has joined #nixos
<clever>
sphalerite: mac source machine?
buffet_ is now known as buffet
<sphalerite>
clever: no, x86_64 source machine and aarch64-linux target machine which I don't want to use as a remote builder
<Gopal[m]>
How does updation of desktop environments work in NixOS? Recently, a new version of KDE Applications was released. Will it be pushed to 19.03?
<{^_^}>
[nixpkgs] @primeos pushed to master « nixos/sks: Fix another regression from ab5dcc7068b »: https://git.io/fjGWZ
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjGWC
<gchristensen>
Gopal[m]:no, that will be in 19.09
bennofs has joined #nixos
<{^_^}>
[nixpkgs] @7c6f434c opened pull request #60371 → Changelog meta entry → https://git.io/fjGW8
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shabius_ has joined #nixos
shabius has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
romildo has joined #nixos
tboston_ has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<bifunc2>
gchristensen any ideas why that macos part is incomplete in the pills?
bennofs has quit [Quit: WeeChat 2.3]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
init_6 has quit []
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
bennofs has joined #nixos
cosmo_ has joined #nixos
Jetien has joined #nixos
Jetien has quit [Ping timeout: 246 seconds]
mmlb3 has quit [Ping timeout: 245 seconds]
mmlb3 has joined #nixos
Maxdamantus has quit [Ping timeout: 244 seconds]
Maxdamantus has joined #nixos
kleisli has joined #nixos
<sphalerite>
So I want to use the path to a.drv in the definition of b.drv, and ensure that a.drv gets instantiated *but not built* together with b.drv.
<sphalerite>
As far as I can tell, `builtins.unsafeDiscardStringContext a.drvPath` gives me the behaviour that I want, but coudl someone sanity-check that? :)
<gchristensen>
sphalerite: unsafely discard the string context on the ... yep!
aleph- is now known as Church-
<sphalerite>
gchristensen: perfect, thanks :)
<gchristensen>
sphalerite: but mangle the contents if you include it in your output (like md5sum it) so nobody tries to realize it
<pie_>
wow so many uses of unsafediscardstringcontext lately :D
<gchristensen>
or else you might be grumpy about yourself later
<sphalerite>
gchristensen: not sure I understand that?
<pie_>
gchristensen, what do you mean
<gchristensen>
if you see /nix/store/oeuthontuhoneht-whatever in a resulting derivation, you be pretty surprised to see it doesn't exist
<sphalerite>
oh, but I'm not using the output path, only the drv path :)
<gchristensen>
same, though
<sphalerite>
and I do want that to exis- oh?
<sphalerite>
:/
<gchristensen>
oh then just use drvPath and don't discard the string context
<gchristensen>
if you discard context, you should mangle it
endformationage has joined #nixos
<gchristensen>
anyway, I really really have to go now ... good luck :P we can talk in like 4hrs
<pie_>
gchristensen, how will ew find out when office hours are
<bifunc2>
as far as i can see, it's either nix or macos. take your pick
<philippD>
Hey, how do I fix haskell packages that are marked as broken? currently all cloud-haskell packages are marked as broken, I would like to fix that.
<lordcirth_>
philippD, try to build them, see what breaks, fix it?
sindrip has joined #nixos
polman has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
amir has quit [Quit: No Ping reply in 180 seconds.]
polman has quit [Ping timeout: 245 seconds]
sb0 has joined #nixos
amir has joined #nixos
<philippD>
Is there a way to disable cabal version ranges when building a package or do I have to modify the cabal file?
<Guest7229>
a few days ago I made a zpool over 3 disks and installed nixos there, yesterday i decided to dedicate one of the disks to some other os, i created a new pool over only two of the disks and installed nixos there, now i get the error: cannot import 'rpool': more than one matching pool when trying to boot... from nixos live usb zpool import only shows one rpool and it manages to import it. I have no idea
<Guest7229>
what to try anymore
<{^_^}>
[nixpkgs] @marenz2569 opened pull request #60374 → Added support for python caldav package → https://git.io/fjG8z
polman has joined #nixos
<sphalerite>
Guest7229: did you use zpool destroy to destroy the pool before creating the new one?
<Guest7229>
not at the first retry, but on the second, third, all the way to the current (sixth) attempt
<sphalerite>
Guest7229: anyway, put `boot.shell_on_fail` on your kernel command line, and you'll be able to get a shell when it fails to import the pool
<sphalerite>
you should hopefully be able to see the incorrect pool using `zpool import` in that shell, and destroy it from there
justanotheruser has joined #nixos
<Guest7229>
but why dont i see it from live usb?
<sphalerite>
idk
<Guest7229>
if i get to see it, any advice what to do about it?
<sphalerite>
destroy it
<{^_^}>
[nixpkgs] @anpryl opened pull request #60375 → slack: dark mode css can be passed as argument → https://git.io/fjG8M
<Guest7229>
sphalerite: thanks, see you on the other side :)
<Guest7229>
sphalerite: zpool import rpool from the boot.shell_on_fail reported IO error (but seemed to had imported the pool)... I couldn't see two pools of the same name... where does the list of pools come from anyway? I noticed that grub has two search entries with --label=rpool, might that be related?
<sphalerite>
Guest7229: grub shouldn't have anything to do with it I think
<sphalerite>
Guest7229: did you try only `zpool import` to see if it shows multiple pools?
<Guest7229>
sphalerite: one of the disks that was part of the previous rpool now has windows on it (maybe something still survived in the mbr or somewhere)
<nh2>
sphalerite: independent of your patch, when is this module active / does that kexec invocation run? Unconditionally?
<Guest7229>
sphalerite: i did indeed, and zpool import -D which showed nothing
<sphalerite>
nh2: when using systemctl kexec, right before the actual kexec
o1lo01ol1o has joined #nixos
<nh2>
sphalerite: NO WAY
<sphalerite>
the existence of systemctl kexec?
<sphalerite>
Guest7229: huh. I don't know then. Does it work without a complaint if you unplug the windows HDD before booting?
<Guest7229>
sphalerite: i am confused why zpool import rpool printend an error when run from the installed system, but works without a problem from the live usb
sb0 has quit [Quit: Leaving]
<nh2>
sphalerite: are you telling me that until your patch, every time that I run `systemctl kexec`, it completely ignores what I've written in my manually-typed `kexec` just before?
<sphalerite>
Guest7229: yeah that is weird as well…
<sphalerite>
nh2: yes
<Guest7229>
sphalerite: i don't think it does, now that you ask, i plugged the windows disk in only after few of the previous attempts that ended the same way
<nh2>
sphalerite: you know what I've been doing for the past 48 hours straight?
<sphalerite>
nh2: annoying, isn't it?
<sphalerite>
nh2: oh fun >_<
<nh2>
sphalerite: typinng kexec invocations and wondering why they don't do what I want
<sphalerite>
nh2: ouch
<nh2>
sphalerite: and the 48 hours are not an exaggeration
<sphalerite>
D:
<sphalerite>
well, glad I could at least end the confusion :p
<nh2>
sphalerite: for the last week I have this problem that I just couldn't figure out why kexec from PlopKexec and and from NixOS behave differently with my EFI poweroff crap, and I've made EVERYTHING equal
<sphalerite>
Guest7229: hm. I don't really know, sorry…
<nh2>
sphalerite: if this is it, your change is a godsend
jtojnar has quit [Remote host closed the connection]
<nh2>
sphalerite: I have a small doubt about it though, as I also `kexec -e`ed a few times and that didn't solve my problem. That shouldn't take the code path mentioned
<sphalerite>
kexec -e without a clean shutdown can be weird generally
<sphalerite>
no idea why
domogled has joined #nixos
<softinio>
I have seen some docs for python development using nix-shell where they still create a virtualenv after going into a nix-shell with a specific version of python ..... my understanding is you don't need virtualenv anymore as nix-shell in effect provides the same ie a separate instance of python from your main system one whilst you are in the shell. Is my understanding correct?
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @ahiaao to master « flent: add procps dep so checkPhase can succeed »: https://git.io/fjG4G
<infinisil>
softinio: Yeah
<infinisil>
Which section does that?
tboston_ has quit [Ping timeout: 250 seconds]
<pie_>
infinisil, probably so they can use pip?
<softinio>
infinisil: https://nixos.wiki/wiki/Python (pip section) ....separate to nix docs some blogs out there that do that ... hence got concerned to get clarification
linarcx1 has quit [Quit: WeeChat 2.4]
<softinio>
for pip I am just including python36Packages.pip in my buildInputs
<infinisil>
Ah yeah that seems to be for people who need to use pip for some reason
<Guest7229>
sphalerite: can I use the shell_on_fail to actually boot the system (because i can manually import the zpool)?
linarcx has joined #nixos
<sphalerite>
Guest7229: yes — use the PID1 option, import the pool, mount the necessary filesystems, then `exec switch_root /mnt-root /nix/var/nix/profiles/system/init`
shibboleth has joined #nixos
<Guest7229>
sphalerite: thanks
<softinio>
infinisil: the conda section of that docs creates another virtualenv also
<softinio>
infinisil: including python36Packages.pip in my buildInputs is not enough to use pip as a separate pip to the main system one?
<infinisil>
Hmm not sure, I don't ever use pip, or python for that matter, I only occasionally need a python in a nix-shell, and have never needed pip for that
Guest7229 has quit [Remote host closed the connection]
<softinio>
infinisil: I will try it out and let you know ... thx
<genesis>
,locate Qt5DesignerComponents.so
<{^_^}>
Couldn't find in any packages
domogled has quit [Ping timeout: 250 seconds]
kleisli_ has quit [Quit: Leaving]
Havvy has quit [Ping timeout: 268 seconds]
JulianWels has joined #nixos
Havvy has joined #nixos
tboston_ has joined #nixos
softinio has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 245 seconds]
softinio has joined #nixos
polman has joined #nixos
drakonis has joined #nixos
<sphalerite>
I want to build a patched version of the radeon kernel module, and am currently having two problems — 1. lots of "indirect call found in RETPOLINE build" warnings, and 2. the resulting module fails to load because of the missing symbol "mcount".
<pie_>
anyone know what might cause nix repl to exit (?) with no errors or anything when printing parts of a value
<alj[m]>
infinisil: you really helped me with that config! thank you! i slapped some auth on the nginx just to be safe but now everything runs smoothly
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<infinisil>
alj[m]: Nice :)
o1lo01ol1o has joined #nixos
<infinisil>
alj[m]: You might want to turn off the autoindex to prevent people from being able to see a listing
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<infinisil>
Oh, I guess with auth it doesn't matter
sindrip has joined #nixos
Jetien has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<sphalerite>
clever: maybe you know something about my kernel module problem?
<{^_^}>
[nixpkgs] @cawilliamson opened pull request #60380 → rambox-pro: init at 1.1.2 → https://git.io/fjG4b
ayerhart has quit [Read error: Connection reset by peer]
<pie_>
oh thats better
<sphalerite>
because 2>&1 redirects stderr to wherever stdout is pointing, *then* > changes stdout to elsewhere
* pie_
squints -_-
<pie_>
wait is & like the c reference operator or something
<pie_>
or dereference or i dont even know
<pie_>
is it trying to be analogous to that lol
<sphalerite>
no
<sphalerite>
well
<sphalerite>
actually maybe
<sphalerite>
idk
* pie_
shoots himself in the foot
<sphalerite>
to answer your question on a more abstract level: because the shell is a fairly thin wrapper over the POSIX APIs, and redirection corresponds to the open, close and dup syscalls
ddellacosta has joined #nixos
<sphalerite>
(or rather dup2)
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @dtzWill opened pull request #60381 → appimage: move extraPkgs default'ing to wrapAppImage → https://git.io/fjGBv
<pie_>
well, now that my logs arent being spammed in my face
<pie_>
sphalerite, thanks
thc202 has quit [Ping timeout: 258 seconds]
ayerhart has joined #nixos
ayerhart has quit [Client Quit]
ayerhart has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
<aswanson>
anyone had luck using R reticulate on nixos? I'm getting a segfault when I try to do anything with python from R
softinio has quit [Remote host closed the connection]
softinio has joined #nixos
<pie_>
aswanson, how are you setting it up, do you have a more specific error?
<pie_>
(no i havent but my wild guess is theres a mismatch somewhere)
<aswanson>
pie_: I'm using nix-shell to set up a python environment with python, keras, and tensorflow available, then I open a R REPL, load reticulate, and call py_config()
softinio has quit [Ping timeout: 268 seconds]
<aswanson>
the traceback shows that it chokes after trying to run py_run_string_impl to add some reticulate scripts to the system path
<aswanson>
R can see my python installation in the nix store and it also finds those reticulate scripts, but the segfault errors with 'cause "memory not mapped"'
<aswanson>
pie_: thanks for looking at this, I updated the gist to contain my shell.nix
<pie_>
aswanson, you probably have better things to do but it might be interesting to try to reduce to a reproducible problem with a shell.nix
<kaliumxyz>
ok but what if I want to make a symlink to the compiled program in a specific users home dir?
<pie_>
aswanson, reproducible bug reports \o/ , ok ill give it a look
<pie_>
aswanson, ah, you have R in your environment right
ardumont has joined #nixos
<aswanson>
pie_: yeah, I just added it and my slew of regualarly used packages to my system environment
<pie_>
can you copy that to the shell.nix?
<aswanson>
sure, give me a sec to make sure I use the right wrapper and such
<pie_>
hell that might even magically fix it :/
<aswanson>
yikes
<pie_>
my current hypothesis is that R probably doesnt have something from python set up properly
<pie_>
or missing something in its environment
<pie_>
and that adding python to its propagetedbuildingputs might work, but im just making a wild guess here
<aswanson>
well, I dug into the reticulate source and py_run_string_repl is some sort of a c/cpp export function
<aswanson>
so that could be at issue too
<pie_>
the error message is not very helpful in any case 'xD
<aswanson>
I've already opened an issue with reticulate since regardless of where the problem ultimately lies it probably shouldn't fail with a segfault
<aswanson>
pie_: it looks like the wiki has some hints for getting R packages via nix-shell, I'll see if I can kludge them together: https://nixos.wiki/wiki/R
tboston_ has joined #nixos
<infinisil>
kaliumxyz: Yeah, a systemd service should work fine, with systemd.services, wantedBy = [ "multi-user.target" ], Type = "oneshot", User = "<theuser>"; Group = "users", WorkingDirectory = users.users.<theuser>.home, and script = "<the commands you need to run>";
NickSeagull has joined #nixos
<infinisil>
And maybe remainAfterExit = true
<infinisil>
Oh maybe systemd.tmpfiles would work too actually
tboston_ has quit [Ping timeout: 246 seconds]
<pie_>
aswanson, how old is your nixos
<pie_>
im getting python3 is undefined
wfranzini has joined #nixos
<pie_>
or i did some stupid mistake somewhere
<pie_>
nevermind, stupid mistake
<infinisil>
kaliumxyz: Yeah, check out the systemd.tmpfiles option, look at examples in nixpkgs, and `man tmpfiles.d`, that would be simpler than a systemd service
<pie_>
oh sorry i pasted the wrong thing, just remove rStudio
<infinisil>
NickHu: imports works with both nix expressions and paths that contain nix expressions
<infinisil>
So you could do `imports = [ { foo = 10; } ]`
<aswanson>
just change rWrapper to rstudioWrapper is how I do it
<aswanson>
i have them in parallel but I think that should work in your case
hhefesto has joined #nixos
<simpson>
Is there a preferred pattern for builds where there is a check, but the check is done interpreted or on the original source rather than the built artifacts?
<pie_>
aswanson, also its nice to know this exists, i tried t ouse python with r ages ago and i think got mixed results
<simpson>
The pattern I'd prefer (obviously?) is to do the checkPhase *before* buildPhase.
<pie_>
i was using python to access a hardware device \o/
shibboleth has quit [Quit: shibboleth]
<aswanson>
pie_: yeah, folks have been doing some impressive stuff with R, but I'm definitely feeling punch of being in the middle slice of a small venn diagram right now
<aswanson>
*pinch
<{^_^}>
[nixpkgs] @kalbasit merged pull request #60282 → browserpass: Remove v2 and switch to buildGoModule → https://git.io/fjs5f
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @Infinisil to master « browserpass: Remove v2 and switch to buildGoModule (#60282) »: https://git.io/fjGRY
<infinisil>
simpson: postPatch sounds like a good place
<infinisil>
I don't think there's any existing pattern for this
<pie_>
aswanson, i tab completed some py_availible() function and it says false
<aswanson>
pie_: neat
<pie_>
aswanson, my wild guess is that due to the way things are done with nix, the r environment has its path hardcoded, but im not sure
<pie_>
could probably check
<pie_>
so even though your shell has python it doesnt see-- wait but you said it sees it nvm
<aswanson>
pie_: that looks like it's because python hasn't been initialized yet, there is an initialize flag in py_available() that defaults to false
<DigitalKiwi>
any recommendations for file indexers? spotlight is the number 1 thing I miss from macos. I had problems with the kde one. I use xfce. I know of gnome3.tracker which I haven't tried and I think is the kind of thing I want? it's the top contender if no other suggestions...
<infinisil>
DigitalKiwi: I've used alfred for a bit, which wasn't terrible I think, maybe check it out
<DigitalKiwi>
oh yeah i've heard of that but forgot
<DigitalKiwi>
B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool
<DigitalKiwi>
is...is that it? :/
<aswanson>
pie_: fyi to debug in rstudio you can call `debugonce(*function-name*)` to debug a function you don't have the source to
<pie_>
ah
<pie_>
but we do have the source (?) not sure how to jump to it though
<pie_>
well ok idk if nix installed the source or not
<aswanson>
R packages sort-of always have the source IIRC
stepcut has joined #nixos
<aswanson>
but this will at least avoid searching through the nix-store
<pie_>
debugonce(py_config) doesnt seem to have done anything
<infinisil>
DigitalKiwi: Haha probably not
<infinisil>
> alfred.meta.description
<{^_^}>
"B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool"
<infinisil>
Whaaa
<aswanson>
then you can call py_config() and it will start the debugger
<aswanson>
it's like setting a breakpoint imperatively
<pie_>
ohh
<pie_>
i ended up making a file and setting a breakpoint
<DigitalKiwi>
somewhere there's a batman program that indexes files
<pie_>
"debug location is approximate because source is not availible"
<aswanson>
oof
<pie_>
but it seems to show source
stepcut_ has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
<infinisil>
DigitalKiwi: Weird, I guess it's not in nixpkgs, I was pretty sure I used it at some point
<yorick>
is there a way to recursively get all file dependencies of a specific instantiation?
<simpson>
DigitalKiwi, infinisil: If one has a BATMAN network set up, then alfred is a simple useful daemon that syncs with other alfreds on the network.
* simpson
should document the local BATMAN network
orivej has joined #nixos
<infinisil>
I might set up a BATMAN network
<infinisil>
Just because of the name lol
bennofs has quit [Quit: WeeChat 2.3]
<NickHu>
infinisil: Ah, that's good - I'm trying to define all my overrides for home-manager in one file per machine, but I also want the expression to contain values that I might want to reference in my main home.nix. So, e.g. I can define an extra value like device.dpi in myhost.nix; however, due to the module system, it fails to typecheck if I just use myhost.nix as an import, so I could put it all into a key like device.overrides
<NickHu>
and import that instead - is there a cleaner way of doing this?
<pie_>
aswanson, ok theres a py_discover_config()
<DigitalKiwi>
ok so I'll look into albert, tracker, and synapse
<aswanson>
pie_: yeah I'm stepping through that now and boy is there a lot of stuff going on
<infinisil>
NickHu: Not sure what you mean, can you show some code that shows what you're trying to do?
knupfer has quit [Remote host closed the connection]
<pie_>
not sure about the appropriate way to debug rcpp stuff other than some vague notion of "throw gdb at it"
* pie_
stares at code
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
sindrip has quit [Ping timeout: 245 seconds]
<aswanson>
yeah I'm way out of my depth at this point
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<infinisil>
NickHu: Hmm, the module system doesn't really have a concept of overrides, you just specify the value of options multiple times and it gets merged according to its type
<infinisil>
NickHu: Ah although
<infinisil>
There is a priority system, so you can use mkForce to override definitions with default priorities
cosmo_ has quit [Ping timeout: 240 seconds]
<infinisil>
NickHu: If you need modules to "communicate" together, I suggest defining a separate option yourself for that
linarcx has quit [Client Quit]
<pie_>
aswanson, if you know how to recompile the code you could add some printf debugging :P
<infinisil>
NickHu: So in your example you might want to declare an option someValue without any default in the main module, and set it to some value in the device-specific modules
linarcx has joined #nixos
<NickHu>
The primary idea for me was just to be able to keep overrides and extra values together in the same file
<infinisil>
NickHu: Yeah you can neatly do that with your own options
linarcx has quit [Client Quit]
<aswanson>
pie_: I've had decent response times for issues in other rstudio projects so I might put a pin in this and see what they have to say
linarcx has joined #nixos
<NickHu>
infinisil: How can I define new options?
<NickHu>
Without modifying home-manager?
<pie_>
aswanson, not unreasonable
<aswanson>
pie_: thanks for the help and ideas though, I'll be sure to update the wiki if it ends up being solvable with nix configuration stuff
<infinisil>
NickHu: Instead of using `{ foo = 10; }` to just set values, use `{ options.bar = lib.mkOption { ... }; config.foo = 10; }` to both declare options and set values
domogled has quit [Ping timeout: 245 seconds]
<pie_>
aswanson, ive been meaning to poke at gdb so ill give it a small shot
mconstant has quit [Ping timeout: 250 seconds]
<infinisil>
NickHu: Oh and imports goes in there too, so your example would be something like `{ config, pkgs, lib, ... }: { imports = [ ... ]; options = { ... }; config = { home.file....; }; }`
<NickHu>
Sorry, would you mind expanding that out a little bit? What does mkOption take?
<infinisil>
NickHu: There's plenty of examples in nixpkgs and home-manager, and there's docs for it in the nixos manual and in the source
<NickHu>
I'm just a bit confused at options.bar = ... and config.foo = 10
<NickHu>
infinisil: Ah, I see, I remember what mkOption is now
<pie_>
aswanson, Thread 1 "R" received signal SIGSEGV, Segmentation fault.
<pie_>
0x00007fffdae5b46b in PyModule_GetDict () from /nix/store/0n8slcq8p5x31kc9hncabsqq9y3fpkzp-python3-3.7.3/lib/libpython3.7m.so
<NickHu>
Is there a way to share each options = { ... } between multiple hosts, e.g. to avoid having options.exampleoption = ... in myhost1.nix and also in myhost2.nix? Presumably I can't just use imports for that
<pie_>
oh i get a backtrace! cool!
tboston_ has joined #nixos
justan0theruser has joined #nixos
<monsieurp>
what's the difference between nativeBuildInputs and buildInputs? is it like compile dependencies (needed for the package to compile) and runtime dependencies (needed for the package to run)?
<symphorien>
nativeBuildInputs will be executed during the build
<symphorien>
buildInput contain code which is executed within the final product
<monsieurp>
hmm right
justanotheruser has quit [Ping timeout: 255 seconds]
<monsieurp>
so if a package contains C code, the nativeBuildInputs list must contain gcc, correct?
<monsieurp>
and if said package needs perl to run, the buildInputs list must contain, well, perl, right?
<monsieurp>
did I get it right?
<symphorien>
stdenv already contains gcc, so you don't need to add it to nativeBuildInputs
<symphorien>
but otherwise you are right
tboston_ has quit [Ping timeout: 250 seconds]
<monsieurp>
great, thanks
stepcut has joined #nixos
tschai[m] has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
nD5Xjz has joined #nixos
justanotheruser has joined #nixos
ggpeti has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
zupo has joined #nixos
justan0theruser has quit [Ping timeout: 244 seconds]
<laika__>
hey all, is anyone using nix to build the leksah haskell IDE? im trying to figure out how i can run the "output" of the nix build (ie, sanely start leksah) without necessarily rebuilding things that are outdated. currently, sometimes when i run leksah's `leksah-nix.sh`, occasionally i have to wait a really long time for nix to build some dependencies (not sure if this is cache invalidation or dependency updates, but either way).
<laika__>
i was hoping to find a way to just run the derivative output
<infinisil>
laika__: Wrapping that script with NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/tarball/<some-revision> should make it always use the same dependencies
mog has quit [Quit: im quiting!]
<infinisil>
Or you can use the one in nixpkgs tbh
<infinisil>
> leksah
stepcut_ has quit [Remote host closed the connection]
<qyliss>
Has anyone else come across a cargoSha256 breaking?
<qyliss>
Trying to figure out what caused it / how to debug
shabius_ has joined #nixos
<tilpner>
Sounds like a bump without altering the hash
<mightybyte>
infinisil: Oh cool, thanks.
<qyliss>
tilpner: I guess that would have to be for one of the dependencies? Because the src of the program I'm building still verifies.
<tilpner>
qyliss: If the Cargo.lock changed in the src, you need to break the cargoSha too, and then replace it with the hash from the error
shabius has quit [Ping timeout: 259 seconds]
<qyliss>
I don't think it can have, though, because it's in the git repo I'm pulling from, and the src's sha256 hasn't changed
<qyliss>
Just the cargoSha256
<tilpner>
I don't have any more guesses without more detail
softinio has quit [Remote host closed the connection]
<qyliss>
I'm just double checking it's also broken on a known-good commit...
wfranzini has quit [Remote host closed the connection]
softinio has joined #nixos
wfranzini has joined #nixos
rprije has joined #nixos
philippD has quit [Remote host closed the connection]
softinio has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
Jetien has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Jetien has quit [Ping timeout: 246 seconds]
Shouou has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
Neo-- has quit [Ping timeout: 250 seconds]
<{^_^}>
[nixpkgs] @malob opened pull request #60395 → nodePackages: update and add bash-language-server, typescript-language-server, and speed-test → https://git.io/fjGzI
<qyliss>
Figured it out. PEBKAC.
<sheeldotme>
Hi, I'm compiling a binary on darwin that outputs debug symbols, however the paths to the object files in said binary are hard coded to the temporary nix paths that get destroyed when the build is completed. Is there a best practice for resolving this?
ayerhart has quit [Read error: Connection reset by peer]
ardumont has quit [Ping timeout: 268 seconds]
ggpeti_ has joined #nixos
polman has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
ayerhart has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ingenuee has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @ambrop72 opened pull request #60396 → buildEnv: Skip paths excluded by pathsToLink as soon as they are encountered. → https://git.io/fjGzc
ggpeti_ has quit [Ping timeout: 250 seconds]
alex```136 has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
alex```13 has quit [Ping timeout: 245 seconds]
polman has quit [Ping timeout: 245 seconds]
ardumont has joined #nixos
ayerhart has joined #nixos
Neo-- has quit [Ping timeout: 246 seconds]
gagbo has quit [Ping timeout: 246 seconds]
softinio has quit [Remote host closed the connection]
softinio has joined #nixos
<softinio>
so we have shellHooks for when we start a nix-shell .... any hook section for when we exit a shell to cleanup ?
Guanin has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
sindrip has joined #nixos
sindrip has quit [Client Quit]
Glider_IRC_ has joined #nixos
<Ralith>
sheeldotme: most debuggers can be instructed to translate paths in debug symbols
mexisme_ has quit [Ping timeout: 250 seconds]
hio has quit [Quit: Connection closed for inactivity]
<sheeldotme>
Ralith I've attempted to map the paths, but I'm not sure how to correctly map them as `pwd` gives me a path in the nix store, as does $out. However, the paths in the binary are prefixed with /private/var/
Glider_IRC has quit [Ping timeout: 268 seconds]
jackdk has joined #nixos
<sheeldotme>
Ah, it looks like $TEMP provides me with what I need, I'll try that.
ggpeti_ has joined #nixos
ggpeti_ has quit [Ping timeout: 258 seconds]
<Ralith>
usually the source paths are the ones of interest, which tend to be in the nix store