bdju has quit [Read error: Connection reset by peer]
justanotheruser has quit [Ping timeout: 272 seconds]
zeta_0 has joined #nixos
bdju has joined #nixos
cr4y1 has quit [Ping timeout: 256 seconds]
<zeta_0>
hello there, i'm looking for an open source scanner utility in nixpkgs in order to use my laptops camera to scan notebook papers, and save the scan as a pdf, is there an open source package with this functionality in nixpkgs?
bdju has quit [Read error: Connection reset by peer]
<colemickens>
I'm really stuck. I have the most basic thing I'm packaging for go and getting this when trying to update the cargoSha256: do not know how to unpack source archive /nix/store/r930wwbf8cg1lrnfhg4df0ilj7cxn4n5-source
<colemickens>
If I clone frm github and checkout the rev that I've specified, it looks like the Go source tree I expect.
<gchristensen>
colemickens: I think you might be more tired than you realize :). can you clarify if you mean go or rust?
<colemickens>
yeah, fetchgit gives the same error about not being able to unpack sources?
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JkCVT
<V>
colemickens: you're using the wrong hash
<V>
nix isn't downloading the modules b/c it's already in your store
<V>
but it's not what you think it is
<colemickens>
yeah, it's an intentionally bad hash, I'm used to the go module builder doing the right thing
<colemickens>
and/or my update infra getting the right hash by this point. But I'm seeing that changing vendorSha256 is changing the error I'm getting in the output, so I've narrowed it down now, thanks.
<cole-h>
halfbit: In the details tab for the latest successful build (https://hydra.nixos.org/build/129668438#tabs-details), you'll see an "Output store paths" field -- you can `nix-store --realise` that path and it will pull it from the cache.
<halfbit>
so I guess I need nix to do this then
<halfbit>
wish there was a link in hydra
<halfbit>
but thats fine, thanks!
orivej has quit [Ping timeout: 260 seconds]
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
ajmcmiddlin has quit [Ping timeout: 272 seconds]
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
LnL- has quit [Ping timeout: 246 seconds]
ajmcmiddlin has joined #nixos
davetapley has quit [Ping timeout: 272 seconds]
heatm1s3r has quit [Ping timeout: 272 seconds]
vk3wtf has quit [Quit: WeeChat 2.7.1]
heatm1s3r has joined #nixos
davetapley has joined #nixos
vk3wtf has joined #nixos
robmyers has quit [Ping timeout: 272 seconds]
mpickering has quit [Ping timeout: 272 seconds]
robmyers has joined #nixos
mpickering has joined #nixos
prusnak has quit [Ping timeout: 272 seconds]
Guest78567 has quit [Remote host closed the connection]
prusnak has joined #nixos
dgpratt has quit [Ping timeout: 272 seconds]
dgpratt has joined #nixos
sam_w has quit [Ping timeout: 272 seconds]
sam_w has joined #nixos
ericsagn1 has quit [Ping timeout: 272 seconds]
Supersonic112 has joined #nixos
antifuchs has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<antifuchs>
hi folks, I'm trying to convert my config to be based on flakes, and am running into a problem: somewhere in recursively transitive dependencies, the NUR flake is pulled in, but I don't know by whom. I think it's at least 2 levels deep, as I already checked the deps 1 level deep. Is there a way to get the full tree of dependencies somehow? (already checked `nix flake list-inputs`) - anything else I can try?
<antifuchs>
(the problem that NUR is getting pulled in in a way that is not pure, so the flakey build immediately complains; I would like to either excise the dependency, or ensure it gets used right way)
<NemesisD>
i'm using a service that requires an .htpasswd file be written to its configured storage folder. is there any sensible "nix way" to write and maintain that file with nix or maybe write into the nix store and ensure a symlink to the destination? i really want to manage as much of the system configuration with nix as possible. i noticed you can write etc files but i'm not seeing how to write/link to a specific place on
fuzen[m] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeorin>
Hey all, I'm trying to build OpenWRT in a nix shell. It uses a similar build process to the Linux kernel. I've got ncurses and pkg-config in my shell.nix's buildInputs, but make menuconfig is complaining that it can't find ncurses and also says that I may need to install pkg-config.
<zeorin>
The strange this is that the first time I ran make menuconfig, it worked.
<zeorin>
I'm using Lorri to manage the shell, but using plain nix-shell has the same effect.
<{^_^}>
[nixos-search] @garbas pushed to fix-hourly-run « use nix from master »: https://git.io/JkWtr
lsix has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
cr4y1 has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed to fix-hourly-run « revert »: https://git.io/JkWqF
cole-h has quit [Ping timeout: 264 seconds]
vandenoever has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed to fix-hourly-run « debug »: https://git.io/JkWmJ
alp has joined #nixos
saschagrunert has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed to fix-hourly-run « debug with tmate »: https://git.io/JkWm4
teto has joined #nixos
zakame has quit [Ping timeout: 256 seconds]
kcalvinalvin has quit [Ping timeout: 256 seconds]
Czen1 has joined #nixos
Czen has quit [Read error: Connection reset by peer]
tarruda has quit [Read error: Connection reset by peer]
seku has joined #nixos
tarruda has joined #nixos
hyperfekt has joined #nixos
gthm has quit [Ping timeout: 246 seconds]
boegel has quit [Ping timeout: 260 seconds]
<gulplante>
I am trying to build an OpenGL project (not mine). In the final executable there are references to files in the build folder. Is there some magical tool to recognize all such paths, copy the relevant files to the nix store and subsequently fix them up? Or will I have to do this manually.
<gulplante>
I know of substituteInPlace for binary files to fix paths, but since these paths are generated in the configure/build phase I thought there might be some better way, short of patching the sources.
<{^_^}>
[nixos-homepage] @garbas pushed 3 commits to master: https://git.io/JkW4k
<{^_^}>
[nixos-homepage] @garbas pushed 0 commits to update-gh-actions: https://git.io/JkW4I
tomturbo has joined #nixos
<tomturbo>
hello, I want to enable remote builds for non-nixos systems. is it enough to create a /etc/nix/machines file? on nixos I also have to set "nix.distributedBuils = true" but I what the equivalent would be for "normal" systems
<tomturbo>
*don't know what the equivalent would be
oldsk00l has joined #nixos
oldsk00l_ has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixos-homepage] @garbas pushed 4 commits to redesign-features: https://git.io/JkWBZ
tghume has joined #nixos
sigmundv__ has joined #nixos
lewo has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
rprije has quit [Ping timeout: 256 seconds]
mniip has joined #nixos
mniip_ has quit [Ping timeout: 619 seconds]
<{^_^}>
[nix] @regnat opened pull request #4267 → Track the dependencies of derivation outputs → https://git.io/JkW03
<{^_^}>
[nixos-homepage] @garbas pushed to redesign-features « add how nix works page which for start is previous features page »: https://git.io/JkW6B
abbe has joined #nixos
ertugerata has joined #nixos
Ariakenom has quit [Ping timeout: 272 seconds]
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<domenkozar[m]>
cachix db going over instance upgrade.
iH8c0ff33 has joined #nixos
vidbina has quit [Quit: vidbina]
<{^_^}>
[nixpkgs] @AndersonTorres opened pull request #104045 → Treewide: change all occurrences of "name" to "pname-version" → https://git.io/JkWPu
shivanes[m] has left #nixos ["User left"]
vidbina has joined #nixos
freezeboy has joined #nixos
<freezeboy>
Hi, anyone had an error with flakes where nix hangs just saying: "opening file '//builtin/derivation.nix': No such file or directory" ?
<supersandro2000>
track a specific rev if you want better control over that
chour has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
<angerman>
domenkozar[m]: did you catch my message about the busted aarch64 ghc installs?
<domenkozar[m]>
angerman: no?
<domenkozar[m]>
angerman: what's going on?
<angerman>
domenkozar[m]: your patch that dropped stripping made ghc doa on aarch64
<domenkozar[m]>
isn't that fixed in master?
<angerman>
let me check... might be, I've had some 20.xx channel and ended up with a busted aarch64 ghc, which made me sad :D
<domenkozar[m]>
latest 20.09 should work
<domenkozar[m]>
at least I managed to compile cachix
<domenkozar[m]>
so something works :D
<delroth>
last time I looked ghc seems busted on aarch64 for 5 different overlapping reasons, and some of these reasons cancel each other
<delroth>
patchelf issues, stripping issues, ghc folks seem to say that they also have some bugs with aarch64 in the compiler that can cause weird breakages
<delroth>
and then sometimes someone touches one of these things and everything explodes
<domenkozar[m]>
yeah that's pretty accurate :D
<domenkozar[m]>
oh you forgot that it hits 2GB limit on hydra
<angerman>
that will be fixed with 9.2 hopefully :D
<domenkozar[m]>
with NCG?
<angerman>
yea
<angerman>
1/2 the symbols.
<domenkozar[m]>
nice
<domenkozar[m]>
well, 2021 looks promising for arm+ghc
chour has quit [Quit: WeeChat 2.9]
is_null has quit [Remote host closed the connection]
<blackriversoftwa>
is it possible to replace the signature of a path in the store with a signature made with a local key file?
davidv7_ has joined #nixos
<pistache>
gchristensen: srk: thank you
<blackriversoftwa>
simply running `nix sign-paths -k mykey --all` doesn't do it
saschagrunert has joined #nixos
eoli3n has quit [Remote host closed the connection]
eoli3n has joined #nixos
cosimone has joined #nixos
<Jezhehim[m]>
Has anyone got org-protocol set up in nixos with firefox and emacs?
<Jezhehim[m]>
It works correctly if I use `emacsclient` from the terminal, and I've got an `org-protocol.desktop` set up (I think correctly) but the firefox bookmarklet doesn't do anything (and it worked fine under another distro which shall not be named...)
is_null has joined #nixos
Qubasa has joined #nixos
zakame has quit [Read error: Connection reset by peer]
<Jezhehim[m]>
Ok, asking this again because my matrix homeserver just had a bit of a funny spell and I'm not sure if the messages got through or not...
<Jezhehim[m]>
Has anyone got org-protocol set up in nixos with firefox and emacs
orivej has joined #nixos
leotaku has quit [Ping timeout: 265 seconds]
<Jezhehim[m]>
It works correctly if I use `emacsclient` from the terminal, and I've got an `org-protocol.desktop` set up (I think correctly) but the firefox bookmarklet doesn't do anything (and it worked fine under another distro which shall not be named...)
ertugerata has joined #nixos
leotaku has joined #nixos
kalbasit has joined #nixos
<{^_^}>
[nixpkgs] @Pamplemousse opened pull request #104060 → doc/builders: Remove out-of-date example → https://git.io/JklRs
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<axx>
i have a weird thing going on: when i start my rpi4 with NixOS 21.03, even though wireless is configured, it doesn't start up
<axx>
however, if i nixos-rebuild switch, it works fine
<axx>
but this means i obviously can't boot headless
pushqrdx has quit [Remote host closed the connection]
<ToxicFrog>
Probably a boot-time service ordering issue
<Jezhehim[m]>
And `xdg-mime query default x-scheme-handler/org-protocol` returns `org-protocol.desktop`
<ToxicFrog>
If you can attach a terminal or cat5 to it you can `systemctl` and see if anything network-related has failed to start up, which will let you dig into why
<axx>
i'm pretty new at thiss, should i conclude that the order in which things are declared in configuration.nix matters more than i've been paying attention to, until now?
<ToxicFrog>
Order in configuration.nix doesn't matter at all.
<{^_^}>
[nixpkgs] @jonringer opened pull request #104061 → python3Packages.numpy: fix tests for >64 core machines → https://git.io/Jkl0S
<axx>
thanks ToxicFrog
<{^_^}>
[nixpkgs] @jonringer closed pull request #103379 → [staging] openblas: fix seg fault on some architectures → https://git.io/JkIfG
<ToxicFrog>
But sometimes the configuration it generates doesn't properly define all of the interdepdendencies between services, usually in ways that mean it mostly works for most people but breaks on some configurations
<axx>
interesting
<axx>
my nfs.server and a wireguard tunnel failed to load, rest looks ok at first glance
<axx>
makes sense for the wg tunnel, and sorta makes sense for the NFS server
<ToxicFrog>
I had that issue with zfs; I ended up having to `zpool import -a && zfs mount -a` in postBootCommands because if I relied on the service ordering it would start up too late for a bunch of other things that expected it to be mounted
<ToxicFrog>
(there is probably a better way to solve it, but this was easier)
<{^_^}>
[nix] @edolstra pushed to progress-bar « Disable the progress bar if stdout is redirected »: https://git.io/JkluD
<axx>
tried a reboot of the whole device, this time it came up normally
<axx>
nice, but mysterious
<ToxicFrog>
oh yay, that means it's probably a race condition! hooray!
Qubasa has quit [Quit: WeeChat 2.9]
tomturbo has quit [Quit: leaving]
<ToxicFrog>
My guess would be: wpa_supplicant depends on something else but hasn't declared that dependency. At boot time, it sometimes tries to start up before the dependency is available, and fails.
<anekdotin>
hey guys i made a linux room if anyone is interested .. tipvote.com/a/linux
<ToxicFrog>
nixos-rebuild switch fixes it because it tries to bring the set of running services in line with what's declared in configuration.nix, so it sees that wpa_supplicant isn't running and tries to start it up, and since the system is fully booted now, it works.
<ToxicFrog>
If you can figure out what it depends on you can add that dependency explicitly in configuration.nix
<{^_^}>
[nixpkgs] @jonringer pushed commit from @mweinelt to staging « python3Packages.requests: 2.24.0 -> 2.25.0 »: https://git.io/JklVl
ddellacosta has joined #nixos
Qubasa has quit [Quit: WeeChat 2.9]
<Ankhers>
Has anyone built a flutter application using NixOS? I keep getting an error saying the nix store is read-only (which makes sense) because I guess the flutter sdk attempts to download packages into it's own directory.
piotrszegda[m] has joined #nixos
ertugerata has quit [Remote host closed the connection]
<NieDzejkob>
rogerr: ah, I also happen to be using rust, but I only use the syntax highlighting that comes with vim by default
camsbury has joined #nixos
Qubasa has joined #nixos
Qubasa has quit [Client Quit]
justanotheruser has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
ezemtsov has quit [Ping timeout: 272 seconds]
<NieDzejkob>
gchristensen: thanks, that worked. Looks like my issue got already fixed and merged 4 days ago, but the fix didn't get through to nixos-unstable yet :/
eoli3n_ has joined #nixos
mallox has joined #nixos
Qubasa has joined #nixos
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
hlolli_ has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
hlolli has quit [Remote host closed the connection]
Qubasa has quit [Quit: WeeChat 2.9]
Qubasa has joined #nixos
Qubasa has quit [Client Quit]
rajivr has quit [Quit: Connection closed for inactivity]
mhgny has joined #nixos
<{^_^}>
[nixpkgs] @nh2 opened pull request #104071 → libmicrodns: Change platforms to `unix` → https://git.io/JkliI
nuncanada has quit [Read error: Connection reset by peer]
<kaba>
Hi, I wanted to try out systemd-homed and I set my `systemd.package` to an overridden systemd version with `withHomed = true`, as well as adding systemd-homed.service to additionalUpstreamSystemUnits
<kaba>
But I get a `Unit dbus-org.freedesktop.home1.service not found` error when trying to use homectl
<kaba>
Anyone managed to get it working?
iH8c0ff33 has joined #nixos
<{^_^}>
[nixpkgs] @makefu opened pull request #104079 → aliases: rfkill is replaced by utillinux, not util-linux → https://git.io/Jklya
<dminuoso>
And *that* ghc does indeed not contain the extraPackages specified in my nixos options
<{^_^}>
[nixpkgs] @pta2002 opened pull request #104084 → bitwig-studio3: add libjack2 at runtime → https://git.io/Jkl9i
ericsagn1 has quit [Ping timeout: 260 seconds]
<lassulus>
dminuoso: hmm, that sounds weird, what nixpkgs version are you on?
<rogerr>
NieDzejkob++
<{^_^}>
NieDzejkob's karma got increased to 2
<dminuoso>
lassulus: Mmm I think I figured it out. Apparently the mere existence of ~/.ghc/x86_64-linux-8.8.4/ tripped it up. Guess that's a bug in the ghcWithPackages wrapper
<lassulus>
oh okay, so '/nix/store/fly2rkqjdihg2b0p5ba5l5q3qz0a0lfq-ghc-8.8.4-with-packages/bin/ghc' is alright?
<dminuoso>
(It doesn't shadow an environment in ~/.ghc sadly)
<oblomov>
hey, I created this simple python shell.nix https://pastebin.com/raw/4xk6w0Sf but when I enter that shell `python --version` is 2.7. How is this possible?
<oblomov>
I selected python38 in the buildInputs!
<srhb>
oblomov: At a guess, z3 comes with a python.
<oblomov>
you're right, the `z3` package in nixpkgs comes with an ancient version of python. Can I somehow override that?
<makefu>
oblomov: z3.override { python= python38 } ? just guessing here
<srhb>
oblomov: Since it's not exactly an unknown package, I'd be surprised if it's easily upgradeable, but maybe my expectations are off :)
<oblomov>
wait, it was sufficient for me to put the z3 package _after_ the python env
<LnL>
ordering of inputs is important when you have conflicting cases like this
ntqz has joined #nixos
<oblomov>
I didn't know order matters, thanks LnL!
<nh2[m]>
can somebody remind me how I can `nix-instantiate` something for darwin on Linux?
<NieDzejkob>
rogerr: well, the implementation is called nvi
<rogerr>
well it's marked as broken so i can't use it anyway heh
endformationage has joined #nixos
oblomov has quit [Remote host closed the connection]
<worldofpeace>
nh2: I remember u can do --argstr system "i686-linux" with nix-build
<numkem>
I've learned yesterday of the closureInfo function, it gives a file named `registration`. My goal is to extract a package/license pairing for each package. Is there a way to take a closure and list all the packages `registration` has?
<rogerr>
NieDzejkob ok i got 0.4 installed. does first run of :checkhealth take a really long time for you too?
upsilon has joined #nixos
<nh2[m]>
worldofpeace: excellent, thanks: `nix-instantiate --argstr system "x86_64-darwin" -A mypackage`
Boomerang has joined #nixos
<coco>
I'm at my first attempt to package a vscode extension, and could use some help. In my home-manager config, I tried to include the fsharp-language-server extension like this: https://gist.github.com/corsinpfister/19b6817722e4b6fa4382d54749e28c04 Like this, I can build and install it, but I have issues with runtime dependencies. The binary FSharpLanguageServer requires libstdc++.so.6. Using Method 1
<coco>
application to execute does not exist: '/nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/FSharpLanguageServer.dll'". I don't know what's going on and appreciate any hint
<{^_^}>
[nixpkgs] @zimbatm merged pull request #103311 → gcc: update to isl 0.20.0 for bootstrapping and recent versions → https://git.io/Jkks3
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @raboof to staging « gcc: update to isl 0.20.0 for bootstrapping and recent versions (#103311) »: https://git.io/JklNb
CMCDragonkai has quit [Remote host closed the connection]
<srid>
Is there a way to declaratively enable the redshift service by default? Per https://nixos.wiki/wiki/Redshift - one is required to manually create a file to enable this, which isn't ideal.
<{^_^}>
[nixpkgs] @veprbl pushed 2 commits to release-20.09: https://git.io/JklA7
<jasom>
If a single package is horribly broken, what's the recommended way of configuring my system to just use the older version of that package "for now"?
astylian has quit [Read error: Connection reset by peer]
wnklmnn has quit [Quit: Leaving]
setenforce has joined #nixos
philr has joined #nixos
<setenforce>
I'm trying to package the latest anki, just patching the binary with autopatchelfhook, and I'm getting a Trace/breakpoint trap (core dumped). I'm not really sure how to continue
<setenforce>
It's a very frustrating experience haha
<setenforce>
http://0x0.st/i5pN.nix the nix file if anyone cares to take a look and let me know if I'm being dumb, which is likely lol
<pushqrdx>
there're a couple of PRs that aren't merged into GTK that might help with my issue with the Magic Trackpad can someone give my any tips how would i go about using my locally built fork of GTK instead of the system one?
ilmu has quit [Ping timeout: 260 seconds]
<colemickens>
pushqrdx: the only way that I know of would trigger a rebuild of a lot of packages.
ilmu has joined #nixos
<pushqrdx>
colemickens well if that's the price of getting proper trackpad, it's completely broken for me now
<colemickens>
pushqrdx: one way would be to update the derivation in the copy of nixpkgs that you use.
<colemickens>
pushqrdx: another way would be to add an overlay to your nixos configuration that overrides the GTK package to be a different or overridden derivation.
<pushqrdx>
colemickens about the first way you mean manually going into the gtk package in the nix store and editing it?
<colemickens>
pushqrdx: those both have the effect of changing the gtk package in the evaluation and the tree of packages, and will trigger rebuilds of anything (in)directly usng the gtk package.
<colemickens>
pushqrdx: no sorry, I mean having a checkout of github.com/nixos/nixpkgs and editting it there.
<colemickens>
pushqrdx: (instead of using channels, you can tell nix to use your own nixpkgs checkout, and then you take on the responsibility of updating that checkout)
<{^_^}>
[nixpkgs] @starcraft66 opened pull request #104104 → obs-move-transition: init at 1.7.1 → https://git.io/Jk8J2
<colemickens>
pushqrdx: if this is a single, one-off thing and you don't expect to edit/hack on nixpkgs often, the overlay/override option is less invasive.
<pushqrdx>
colemickens yeah it feels like first option is overkill for what i need rn, i just want a patched GTK
nuncanada has quit [Read error: Connection reset by peer]
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
endvra has quit [Ping timeout: 256 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<rogerr>
the neovim package for 20.09 is broken. all i have is added neovim to systemPackages, set variables.EDITOR = "nvim", nixos-rebuild switch, run nvim as user, enter :checkhealth, see configuration error that shada file is not readable and running healthchecks... never finishes