00:00
philr has joined #nix-darwin
00:17
supersandro2000 has quit [Disconnected by services]
00:17
supersandro2000 has joined #nix-darwin
00:28
<
aterius >
Doesn't really matter since I'm not using this anymore, nix show-derivation does what I need
00:30
philr_ has joined #nix-darwin
00:31
philr has quit [Ping timeout: 260 seconds]
02:01
supersandro2000 has joined #nix-darwin
09:47
__monty__ has joined #nix-darwin
09:58
<
{^_^} >
#107870 (by siraben, 42 minutes ago, open): driftnet: 1.1.5 -> 1.3.0
10:19
<
LnL >
that one comes from glibc, I think it's a different header, perhaps <netinet/if_ether.h> or <net/ethernet.h>
10:21
<
aterius >
What's weird is where it's declared
10:22
<
aterius >
Shouldn't that only be used on cygwin?
10:22
<
aterius >
it's late
10:23
<
aterius >
I tried changing it to if_ether and still get a ton of compilation errors
10:26
<
aterius >
I think I fixed it
10:33
<
aterius >
I just commented a patch on the issue
10:34
<
aterius >
siraben: ^
10:39
<
aterius >
whoops missed something, I changed ether to if_ether
10:42
rb2k has quit [Ping timeout: 260 seconds]
10:46
<
siraben >
mjlbach: ok will apply the patch and see
10:46
<
aterius >
I'm fixing it right now
10:50
<
siraben >
thanks for your help
10:56
<
aterius >
Ok, fixed patch
10:56
<
aterius >
FYI I have no idea if this actually works, I just know that it builds now lmao
10:56
<
aterius >
the binary just returns `Tue Dec 29 02:56:47 2020 - error: pcap_activate: No such device exists`
10:57
<
siraben >
Well, that's still better than not being able to build in the first place, could open an issue upstream
10:58
<
siraben >
Yay it builds, thanks!
10:58
<
siraben >
I have, `Tue Dec 29 17:58:10 2020 - error: pcap_activate: You don't have permission to capture on that device
10:58
<
aterius >
Yeah try restricting it to one of the devices in ifconfig
10:58
<
siraben >
Oh I think it the build may not be reproducible
10:58
<
aterius >
Then I get an error about no valid display
10:58
<
siraben >
seems to embed the build date and time
11:00
<
siraben >
Oh it's runtime
11:00
<
aterius >
I was confused for a second hah, yeah that's just when I ran it
11:00
<
aterius >
Installing xquartz now (if it still runs)
11:01
<
aterius >
What I'm still confused by is why they closed macos support two years by adding preprocessor macros for FreeBSD
11:01
<
aterius >
did that used to work?
11:02
<
siraben >
I ran `sudo ./result/bin/driftnet -i en0` and an x window opened
11:03
<
siraben >
not sure what i'm supposed to be looking at, just black screen
11:03
<
siraben >
try going to neverssl.com
11:03
<
aterius >
I don't know how advanced the gui is supposed to be, from what I can tell this sniffs images from your stream?
11:03
<
aterius >
local network connection*
11:04
<
siraben >
yeah I think so, I just saw it was out of date but never used it
11:04
<
siraben >
does anyone know any http sites heh
11:05
<
__monty__ >
tcpcrypt.org is just HTTP iirc.
11:05
<
siraben >
the largest the screen the better
11:05
<
aterius >
should send some strongly worded emails about getting with the times to these sites after their utility is up
11:06
<
siraben >
nice, this is fascinating/creepy
11:06
<
siraben >
alright, I'll note that it works then
11:06
<
aterius >
Wow, shame (?) it's kinda useless now with everything being https though
11:06
<
aterius >
I'm going to make an upstream PR
11:07
<
aterius >
project seems dead though, so we can probably just carry the patch in tree
11:26
pingiun has joined #nix-darwin
11:37
<
LnL >
aterius: adding an defined(__APPLE__) to that condition is probably cleaner
11:38
<
aterius >
Yes, I agree
14:28
<
siraben >
Does anyone know how to only keep specific source folders in a nix derivation?
14:51
<
siraben >
gchristensen: wow, thank you so much!
14:51
<
siraben >
I was banging my head figuring out why gitignoreSourcePure wasn't working for me
14:51
<
gchristensen >
it is manveru's but they deleted their repo and now I can never find it
14:51
<
gchristensen >
deleted and then recreated it somewhere else, and now I can never find it*
14:51
<
siraben >
How would I use it in my derivation without copying/pasting?
14:52
<
gchristensen >
I usually use niv to fetch it
14:54
<
siraben >
using niv i get error: opening file '/nix/store/jawxaip2x9x6vbw9fsgqjizwq238ccn2-nix-inclusive-src/default.nix': No such file or directory
14:54
<
siraben >
I'm not familiar with how to use flakes
15:15
<
manveru >
siraben: yeah, that's ours :)
15:15
<
siraben >
manveru: :)
15:15
<
manveru >
though i found that with flakes i almost never use it anymore anyway...
15:15
<
siraben >
upstream it to nixpkgs!
15:15
<
siraben >
How does flakes make it redundant?
15:16
<
manveru >
you can only see files that are in git within flakes
15:19
<
manveru >
though inclusive can help when you have multiple derivations and you want to reduce rebuilds to a minimum still
15:20
<
gchristensen >
like a monorepo
15:21
<
siraben >
What's good practice? Because if I move them to their own respective repos and track nixpkgs with niv, then it seems like it would get messy
15:31
Chiliparrot has joined #nix-darwin
15:57
<
abathur >
domenkozar[m]: ping re: nix#4047 and nix#4289? :)
16:31
philr_ has quit [Ping timeout: 246 seconds]
18:46
rb2k has joined #nix-darwin
19:23
<
gchristensen >
"Apple's case was an insanely broad assertion that emulating iOS firmware on something that's not Apple's own hardware violates iOS copyright, rather than covered by "fair use"."
19:49
kalbasit has quit [Ping timeout: 256 seconds]
20:18
kalbasit has joined #nix-darwin
20:27
kalbasit has quit [Ping timeout: 240 seconds]
20:28
kalbasit has joined #nix-darwin
20:39
kalbasit has quit [Ping timeout: 240 seconds]
21:23
<
fiddlerwoaroof >
Any updates on darwin/arm64 + nix?
21:24
nikivi has quit [Read error: Connection reset by peer]
21:24
Nikita has joined #nix-darwin
21:24
Nikita is now known as Guest48324
21:24
Guest48324 is now known as nikivi
21:28
hamishmack has quit [Ping timeout: 246 seconds]
21:29
hamishmack has joined #nix-darwin
22:35
__monty__ has quit [Quit: leaving]
23:06
philr_ has joined #nix-darwin
23:30
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]