<{^_^}>
[nixpkgs] @urkud opened pull request #43158 → qsyncthingtray: fix compile with Qt 5.11 → https://git.io/fNvK3
<bpye>
This is sort of a structure question. If I have a bunch of info such as email logins or ssh public keys that I need to use multiple times in my configuration.nix and I have split this config across multiple files, what is my best way to be able to reference these values? I would obviously like if my SMTP server was only specified in one location, f
<bpye>
or example
<clever>
bpye: you can just make your own nix file containing a set { smtp_server = "foo"; } and then import it
<clever>
if you delete the wrong one, it will just replace it when you nixos-rebuild
<Ralith>
the really big things are the initrds and I have absolutely no idea which one is which
<Ralith>
since they're just hash named
<clever>
read the grub config file
<Ralith>
timestamps I guess
tenten8401 has quit [Quit: Konversation terminated!]
<clever>
it shows generation numbers, date/time stamps, and paths to the files it uses
logzet_ has quit [Ping timeout: 240 seconds]
tenten8401 has joined #nixos
<Ralith>
right, thanks
logzet has joined #nixos
<Ralith>
I wish it would do a gc pass for unreferenced stuff before copying new things in
<worldofpeace>
jtojnar: building
<clever>
Ralith: you need to copy in the current kernels before you can safely delete old ones
tenten8401 has quit [Client Quit]
<worldofpeace>
jtojnar: that seems to have done it
<clever>
Ralith: if you delete old kernels, plan to copy in new ones, but crash, it wont be able to boot
tenten8401 has joined #nixos
<Ralith>
clever: you need to copy in the *new* kernel before you can safely delete the *current* one, but you can safely delete older ones first.
<Ralith>
hence "unreferenced"
<clever>
that order complicates the logic a lot more
<jtojnar>
worldofpeace: we ought to report it upstream
<worldofpeace>
jtojnar: ^
ajs124 has left #nixos ["Machine going to sleep"]
<bpye>
It would be nice if NixOS had better support for running things in namespaces, I know there is the containers support but the NAT support seemed to blow up when combined with Wireguard :(
<samueldr>
worldofpeace: couldn't you use autoreconfHook?
thc202 has quit [Ping timeout: 268 seconds]
<worldofpeace>
samueldr: maybe, I tried with a similar lib but It didn't work. Looking :)
logzet has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 256 seconds]
markus1199 has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<samueldr>
I'm one megabyte short to be able to flash this in the boot.img partition :(
<infinisil>
jtojnar: What are pkg-config's Requires?
<infinisil>
worldofpeace: Propagated dependencies aren't for runtime dependencies
<infinisil>
jtojnar: ^^
markus1189 has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
<worldofpeace>
infinisil: That section of the manual is like... so... not fun to read :)
<jtojnar>
samueldr: I do not like autoreconfHook because it sometimes is not enough
<worldofpeace>
^ discovered that quickly
<samueldr>
(I was also asking to get educated :))
<samueldr>
why wouldn't it be enough though?
<samueldr>
what kind of breakage could I expect?
<infinisil>
Am confused, what are dee and libdbusmenu-glib for now? runtime? buildtime? what have you not?
<jtojnar>
samueldr: autoreconfhook does not run intltoolize I think
<jtojnar>
and sometimes other things
<samueldr>
though, this could be a postAutoreconf hook, right?
<jtojnar>
intltoolize needs to run before specific autoconf phase
<infinisil>
worldofpeace: If it's runtime deps:
<infinisil>
,runtimeDeps
<{^_^}>
In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
<jtojnar>
infinisil: pc files can contain Requires field to specify dependent libraries
<infinisil>
Ah so it is actually propagated
<infinisil>
Don't mind me then
<jtojnar>
it is primarily used for obtaining Cflags from transitive dependencies
<worldofpeace>
You've got me all curious now so I'm re-reading the source.
<jtojnar>
but pkg-config will not let you get non-static cflags if it cannot find all the Requires packages
<jtojnar>
there is an issue open about it in pkg-config issue tracker, IIRC
<clever>
jtojnar: it might help if pkgconfig has a fixup hook, that scans the requires fields, and populates the propagated-inputs under $out/nix-support/
<worldofpeace>
^
<jtojnar>
clever: mapping pkg-config names to packages would not be easy
<jtojnar>
e.g. gio-unix-2.0 points to glib
<clever>
jtojnar: those packages should already be in scope
<jtojnar>
we would need to maintain a db
<clever>
jtojnar: so if you just ask pkgconfig to find its .pc file
<NoOneRules>
Before I modified the default.nix for hello, I ran that command and hello was in my path i.e. I can call `hello` in my terminal from anywhere
<clever>
it has to install to $out/bin/thd, not $out/usr/bin/thd
<NoOneRules>
Ohhh, I see. Opps
<NoOneRules>
Thank you so much samueldr and clever
<NoOneRules>
Is this documented somewhere in the documentation btw? Just curious where I missed it
jperras has quit [Ping timeout: 240 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<clever>
not sure where it would be documented
<NoOneRules>
This was my first package for NixOS btw. I used to do packaging for ArchLinux.
<NoOneRules>
NixOS packaging seems a bit harder but that's probably because this is the first time learning a functional language and Nix's tools seem more powerful
<jtojnar>
can you use git send-email? nix-locate points me to gitAndTools.gitFull, which I have installed but I am getting "git: 'send-email' is not a git command."
<samueldr>
searched in the nix and nixpkgs manual, there is no specific mention of not user /usr/ for installing, but everything about /bin/ is always $out/bin/
<clever>
nix does away with directories like /usr, /usr/local, and /sbin
<NoOneRules>
Ah I see. Yeah that sounds more reasonable actually
andymandias has quit [Ping timeout: 248 seconds]
<infinisil>
,locate man git-send-email
<{^_^}>
Found in packages: git
<samueldr>
jtojnar: there is a man page
<samueldr>
but no binary!
fragamus has joined #nixos
<jtojnar>
I see a binary in libexec
<clever>
git probably looks in its own libexec for utils like that
<infinisil>
Hmm, I have git send-email available
<samueldr>
(in git.out there's the manpage but no binary)
<clever>
yeah
<clever>
samueldr: try what infinisil said
<samueldr>
nix-shell -p gitAndTools.gitFull and it works
<samueldr>
clever: without gitFull it doesn't work (understandably)
<samueldr>
git: 'send-email' is not a git command. See 'git --help'.
<infinisil>
Yeah, needs gitFull
<samueldr>
(I knew about libexec, missed it at first in the listing when I said there's no binary, thought it was another manpage)
qualiaqq has joined #nixos
andymandias has joined #nixos
<jtojnar>
but I have gitFull in environment.systemPackages
<samueldr>
jtojnar: another git installed? `nix-shell -p git -p gitAndTools.gitFull` makes it fail
<clever>
jtojnar: `type git`
<jtojnar>
right, I had git-minimal in user profile for some reason
<samueldr>
(both store paths seem to be only named `*-git-version`)
<waynr>
okay so i figured out how to do the things nix does automatically when building stuff from within a nix-shell environment
<waynr>
the problem that happens when i'm building libuv during a `nix-env -i` build doesn't reproduce when i attempt to run the same steps manually in nix-shell
goibhniu has quit [Ping timeout: 240 seconds]
<waynr>
the major difference that i can note is that in the former case it is a remote build through the nix-daemon socket using my "nix-daemon" user
<waynr>
i've also noticed that on a different machine where i still had my single-user install of nix that the same problem did not happen
<waynr>
the specific failure when attempting to build remotely using my nix-daemon user is that the `checkPhase` of a libuv build fails when building using the nixpkgs master branch
lassulus_ has joined #nixos
<waynr>
it just fails without explanation with exactly the same stdout as when it succeeds during a manual build in nix-shell
<waynr>
does this problem sound familiar to anyone? should i report a bug on nixpkgs or on nix?
alex`` has quit [Ping timeout: 260 seconds]
<samueldr>
is sandboxing enabled on the build machine?
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<samueldr>
off the top of my head, that's a thing that can change behaviour of things
<waynr>
well it's no more or less enabled than it was with the single-user install
<waynr>
(on the machien where i noted the single user build succeeding earlier today i've since blown away the single user nix and replaced it with multi user before i realized that might be the key difference between the two cases)
<waynr>
also, what exactly is sandboxing? is that a nix specific feature/behavior or does it refer to something system-level?
<waynr>
oh i purposely turned that off, otherwise why do i have these beefy personal machines
<samueldr>
hm, sandboxing generally breaks builds, so while enabling sandboxing is good (safer, more strict) it wouldn't change anything in your case I presume
<samueldr>
ah, so you're running without cache
dan_ has joined #nixos
<waynr>
yeah i've set `substitue = False`
<waynr>
or was it `substitute: False`
dan_ is now known as Guest62057
<samueldr>
I really can't help more :/ if it builds on hydra, I'd assume it's reproducible enough to build on most linux x86_64 machines
<waynr>
oh looks like you're right about sandboxing not working with my setup: 'The use of a sandbox requires that Nix is run as root'
<waynr>
maybe i could run multiuser nix daemon as a docker container
<waynr>
s/as a/in a/
<waynr>
although i had kind of envisioned my use of nix as preceeding docker installation
Guest62057 has quit [Ping timeout: 268 seconds]
<waynr>
anyway, thanks again for the advice/help
<fragamus>
I recently submitted a package called bliss and another package depends on it, but in order to detect it it needs an environment variable to be set to $out How is this done
<fragamus>
something like blah.variables.BLISS_DIR = $out;
blym has joined #nixos
init_6 has joined #nixos
bumbleblym has joined #nixos
justanotheruser is now known as swampmonster
Oogieboogie has quit [Remote host closed the connection]
blym has quit [Ping timeout: 260 seconds]
blymberry has joined #nixos
<waynr>
oh shoot i just found the problem
<samueldr>
now this makes me curious
<samueldr>
fragamus: during runtime or during the build?
<fragamus>
build
drakonis_ has joined #nixos
stepcut has quit [Remote host closed the connection]
<waynr>
using `nix-build $PWD -A libuv` I got a less chatty stdout from nix and see one of the early tests failed...i see one of the failures was caused by the nix-daemon user not having a password; the libuv tests assume the running user has a password
stepcut has joined #nixos
<samueldr>
fragamus: if it's an environment variable, just settnig it in the attrSet of mkDerivation should work
<fragamus>
but $out is not defined yet
stepcut has quit [Remote host closed the connection]
<samueldr>
e.g. {stdenv, bliss}: stdenv.mkDerivation { BLISS_DIR = bliss; }
<fragamus>
or am I wrong
<samueldr>
depends, maybe I misunderstood the issue
<samueldr>
another package depends on bliss, right? and it needs the path to bliss, right?
<fragamus>
yeah
bumbleblym has quit [Ping timeout: 260 seconds]
<waynr>
"path to bliss"
<fragamus>
lol
<samueldr>
I think my small example should work, it should set BLISS_DIR during the build to the path equivalent to bliss' $out
<waynr>
let me know when you find it ;)
<fragamus>
OK so that's not done in bliss it is done in the dependent package right
<samueldr>
yes
<samueldr>
it doesn't really make sense (I believe) for bliss to know about anything that may or may not require it at build time
<fragamus>
i agree
<samueldr>
fragamus: if you need the path to e.g. the lib folder inside the package, you can use string interpolation e.g.: "${bliss}/lib/"
<adisbladis[m]>
What's a clean way to deal with packages that has multiple source tarballs?
<adisbladis[m]>
Use case: npm packages can have circular dependencies and I'm breaking these cycles in https://github.com/adisbladis/pnpm2nix/ and merging a cycle into a single package to stop nix from recursing infinitely
<cocreature>
Hey, when I install firefox-devedition-bin using "nix-env -iA nixos.firefox-devedition-bin", I get the "firefox-devedition" binary in my PATH as I expect to but I also get the unwrapped "firefox" binary symlinked to ~/.nix-profile/bin. Is there a way to avoid this?
<cocreature>
also why does this even happen? I don’t think dependencies of a package that I install are in generall also symlinked into the environment or are they?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<seafood>
Anyone here configure nginx with nixos?
<seafood>
I think I’ve set it up correclty but I can’t see to receive incoming requests on port 80
<omni-canada>
Hey, I'm really liking nixos and trying to get it set up for use on my laptop. I'm having trouble with pulseaudio. There is a config hack I've used on archlinux for my laptop (https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX390) but I don't understand/can't figure out how to apply this in the nixos store. I see I can specify some other pulseaudio configs (asound.conf, client.conf) but the file I'm trying to change doesn't have a
Jason_Grossman has quit [Ping timeout: 264 seconds]
Guest29 has joined #nixos
orivej has joined #nixos
<omni-canada>
I'm looking in the modules/config/pulseaudio.nix file. Maybe an issue that I don't understand how the nix expression becomes the pa package. I can add/change a few config with the options here, but the file I intend to edit is output to the /share folder in the pa package in nix store and isn't related to the config files there are options for (afaik, I'm not a pa expert either)
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
omni-canada: what is it that you need to modify?
<omni-canada>
The alsa Elements in alsa-mixer/paths/analog-output.conf
<booglewoogle>
did any of you have a problem with a bash update preventing it to build due to an 'Exec format error'?
Xiro` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<booglewoogle>
i've got https://pastebin.com/WYLpHaHN after a 'nixos-rebuild --upgrade switch', nothing changed about my very conservative configuration.nix which worked with many nixos-rebuilds before
<infinisil>
omni-canada: Is it not possible to have some include statement in the config to include other files?
<infinisil>
There is a way to modify the contents of any package, but it should be avoided if possible
jensens has quit [Ping timeout: 245 seconds]
<omni-canada>
infinisil: I'm not aware of a way, but there may be one. The configurable config files don't even share syntax with the file I planned to edit.
<{^_^}>
[nixpkgs] @teh opened pull request #43212 → pyre: init at 0.0.8 → https://git.io/fNvHA
<omni-canada>
infinisil: Thank you! A very clear explaination. I'll also look to see if it is possible in one of the other configs. Thanks for your time.
graphene has quit [Remote host closed the connection]
<gchristensen>
jophish: yikes
graphene has joined #nixos
<manveru>
does anyone have some examples of more complex nix configs done with dhall?
<mpickering>
nix run doesn't change the colour of my command prompt like nix-shell used to, feature or bug?
<jophish>
gchristensen: I was building some sd images for a raspberry pi, kept getting out of space errors
<jophish>
bgamari: hey, are you about? Wondering if you can share your cross compiling wisdom
<gchristensen>
heh, its disk is full
<gchristensen>
jophish: rebooting, hopefully it'll come up ok and have an empty disk :)
ajs124 has joined #nixos
<jophish>
thanks
<Guest29>
Hi there, hoping y'all can help me grok something.. I've mad a nix expression to install solr5. I want to organise things such that nix-env and other expressions can 'find it' when asked. instantiating and building have it show up in the store, but AFAICT.. some voodoo is needed to get it to appear in <nixpkgs> or making your own http channel.. im sure there' must be an approach a little less 'heavy' than that?
<gchristensen>
you can nix-build it, the nix-env -i ./result
<Guest29>
right, but i have to be in that directory to do that. I guess what i'd really like is to be able to have it as a buildInput for other expressions
<Guest29>
ah ok.. i was about to read the 'overlay stategy pill' when i gave up :)
agander has joined #nixos
<gchristensen>
what is that?
<worldofpeace>
Warning 'nix pills dosage may vary' :P Don't take too many per day
__monty__ has joined #nixos
<Guest29>
oh, im wrong sorry, it was the override design pattern.. my bad
<gchristensen>
it is ok :)
<Guest29>
worldofpeace, aint it true
<Guest29>
so, overlays might give me the means to use the existing solr expression but with updated and darwin happy behaviour
<Guest29>
(though i guess its moot, i have a working one anyway)
<Myrl-saki>
How do I access nixos's nixpkgs?
<Myrl-saki>
nixos.pkgs?
<Myrl-saki>
(The answer is yes for those who are curious.)
<worldofpeace>
Guest29: You'd want to also look at 'overrideAttrs' for that
<{^_^}>
[nixpkgs] @vbgl opened pull request #43216 → coqPackages.equations: enable for Coq 8.8 → https://git.io/fNv77
winem_ has quit [Ping timeout: 255 seconds]
Tobba has quit [Remote host closed the connection]
Tobba has joined #nixos
shabius has quit [Quit: Leaving]
raynold has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
omni-canada has quit [Ping timeout: 244 seconds]
markus_ has joined #nixos
<markus_>
hi, i installed SDL2 (nix-env -iA nixos.SDL2), but my program cannot find a libSDL2.so. Any ideas?
andymandias has quit [Ping timeout: 264 seconds]
<epta>
I'm trying to update the haskell environment from ghc842 to ghc843. For some reason I have an error saying that attribute "ghc843" could not be found https://lpaste.net/1577443764429914112 . This version of derivation 'c29d2fde74d' is kinda old. It's strange, because I just got updated nixpkgs-unstable channel. What am I doing wrong?
<mpickering>
epta: Might not be in the unstable channel yet
<mpickering>
if ghc842 exists then your commit is too old
<markus_>
{^_^}: thx, thats i hint i can look into :)
<epta>
mpickering: how 'nix-channel --update' should correlate with '/nix/store/aa71drs3l7smj3afvf46613yqwmfbngc-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/top-level/haskell-packages.nix:120:3'?
<epta>
I mean, why such an old version of this file is used?
tzemanovic has quit [Remote host closed the connection]
fuzzy_id has joined #nixos
tzemanovic has joined #nixos
<fuzzy_id>
is anyone running samba on aarch64?
<{^_^}>
[nixpkgs] @zimbatm opened pull request #43221 → WIP: guix: init at 0.15.0 → https://git.io/fNvAL
tzemanovic has quit [Remote host closed the connection]
<fuzzy_id>
i cannot seem to get authentication running – I always get NT_STATUS_CONNECTION_DISCONNECTED
nlytend has joined #nixos
<fuzzy_id>
I guess it has to do with the platform (aarch64) as i get it running properly on x64
<waynr>
can anyone tell me how to find out more about the different build inputs listed in a default.nix file? like stdenv, fetchFromGithub, Security, etc
<{^_^}>
[nixpkgs] @jtojnar opened pull request #43222 → nixos/udisks2: use upstream unit → https://git.io/fNvAs
sbdchd has joined #nixos
jgt has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
kyren has quit [Read error: Connection reset by peer]
kyren_ has joined #nixos
<jophish>
hmm, getting a lot of "You are using an unsupported version of LLVM!" building ghc, fingers crossed
kyren_ has quit [Remote host closed the connection]
<zimbatm>
one of my trolling friends keeps asking why he has to do the formatting by hand as nixos is supposed to be declarative
<manveru>
yeah :)
<__monty__>
What formatting?
<manveru>
disk formatting
<zimbatm>
when installing nixos with the ISO the first step is to partition and format the disk manually
<zimbatm>
obviously that wouldn't work very well with rollback
<manveru>
that's pretty much the only "hard" thing about installing, since many people just don't give a damn about partitioning or filesystems
<zimbatm>
my friend likes to complain
timon37 has quit [Remote host closed the connection]
<zimbatm>
still, it's an interesting idea
<manveru>
calamares uses the kde partitioning tool as a library, which, while it's not declarative, would at least make it easy
tzemanovic has quit [Ping timeout: 256 seconds]
<infinisil>
zimbatm: check out nixpart
<__monty__>
Hmm, isn't partitioning already declarative? You specify a partition table and the tool changes the device to match?
<{^_^}>
[nixpkgs] @volth opened pull request #43224 → substitute(): --subst-var was silently coercing to "" if the variable does not exist. → https://git.io/fNvj6
jb55 has joined #nixos
<manveru>
__monty__: only with hetzner and nixops, afaik
<zimbatm>
and swap
<zimbatm>
infinisil: thanks
<__monty__>
manveru: I'm talking about f/gdisk.
<manveru>
__monty__: oh, yeah... if you call it that :)
<zimbatm>
it looks like calamares is already part of nixpkgs
<manveru>
yeah, i packaged it
<manveru>
but the actual installer config requires modifying some of their C++ modules to just store their selected options instead of actually doing the thing
<manveru>
and i really don't feel like spending time learning that :P
<zimbatm>
I think the installer should be in two parts: system.nix that setups the partitioning and bootloader. Then configuration.nix to setup the distribution.
freeman42x]NixOS has joined #nixos
<manveru>
exactly
<zimbatm>
that would also solve the bootloader issue where old generations are kept around after GC
alexteves has quit [Ping timeout: 244 seconds]
<zimbatm>
with some kexec magic or something
<zimbatm>
wouldn't it be enough to open a pane with `$EDITOR system.nix` and another with the configuration?
<zimbatm>
most of the installers are focused on the imperative approach
<zimbatm>
splitting the bootloader out would also help for container-type setups
alex`` has quit [Quit: WeeChat 2.1]
alex`` has joined #nixos
<fuzzy_id>
viric: if you haven't solved this – i'd add a restart trigger via systemd
blankhart has joined #nixos
hotfuzz_ has quit [Read error: Connection reset by peer]
hotfuzz_ has joined #nixos
<{^_^}>
[nixpkgs] @IvanMalison opened pull request #43226 → notify-osd-customizable: init at 0.9.35+16.04.20160415 → https://git.io/fNfvW
<jb55>
I'm trying to get the xorg.libX11 man pages, nix-shell -p xorg.libX11.man --run 'man 3 XSetWMNormalHints' doesn't seem to work? man -w doesn't seem to pick up on the path. what's the best way to do this?
<tenten8401>
Anyone know if there's a reason why a crontab wouldn't be running?
<worldofpeace>
jtojnar: ahh ok. easy
<tenten8401>
If I execute the command in the crontab file it runs as expected
<tenten8401>
but I've been waiting hours and this task doesn't run at all
<jtojnar>
worldofpeace: I suggest using pulseaudio instead of libpulseaudio
<jtojnar>
it will be in closure anyway
<tenten8401>
does sudo work in a crontab? is there a way to force it to run as a user if not?
<anon777>
quick question: why does nix use hashes in package names instead of e.g. version numbers?
logzet_ has joined #nixos
<cocreature>
Hey, when I install firefox-devedition-bin using "nix-env -iA nixos.firefox-devedition-bin", I get the "firefox-devedition" binary in my PATH as I expect to but I also get the unwrapped "firefox" binary symlinked to ~/.nix-profile/bin. Is there a way to avoid this?
<cocreature>
anon777: what prevents someone from updating the source code without updating the version number?
<foldingcookie>
no, it's easy for sloppiness or complexity (e.g. distro or backported patches) to cause different actual source archives to claim the same version numebr
<foldingcookie>
number*
<anon777>
ok
<anon777>
i get it now, thx
anon777 has left #nixos [#nixos]
kyren has joined #nixos
kyren_ has quit [Ping timeout: 240 seconds]
fuzzy_id has quit [Ping timeout: 255 seconds]
kyren has quit [Read error: Connection reset by peer]
kyren_ has joined #nixos
igo95862 has joined #nixos
kyren has joined #nixos
kyren_ has quit [Ping timeout: 268 seconds]
yurb is now known as yurb_afk
<jtojnar>
worldofpeace: that is all from mutter only
<jtojnar>
> with import <nixpkgs> {}; builtins.readDir "${stdenv.lib.getDev gnome3.mutter}/lib/pkgconfig"
<{^_^}>
cannot read '/nix/store/5snrbhyqh6ncl056f4bwg61ibizsydjh-mutter-3.28.2/lib/pkgconfig', since path '/nix/store/ji3zr0arybxajq2n25sp9d26rqdgpizp-mutter-3.28.2.drv' is not valid, at (string):153:27
kyren_ has joined #nixos
kyren has quit [Read error: Connection reset by peer]
<worldofpeace>
libmutter-2?
<{^_^}>
[nixpkgs] @janpath opened pull request #43228 → Fix invalid sentence in doc → https://git.io/fNfUz
andymandias has quit [Ping timeout: 240 seconds]
andymandias has joined #nixos
kyren_ has quit [Remote host closed the connection]
<mroutis>
mhm, hi, after trying to install nixos (following the nixos-help), it loads grub but displays an error "unknow filesystem"
<mroutis>
where should I look up?
kyren has joined #nixos
<worldofpeace>
jtojnar: it fails without clutter I guess
<jtojnar>
worldofpeace: clutter probably needs to be in propagatedBuildInputs of mutter, as we discussed yesterday
jperras has joined #nixos
<jtojnar>
though if a project wants to use mutter-clutter, they will need symbols from clutter as well, so maybe adding it to propagatedBuildInputs would be superfluous
<mroutis>
ohh, I changed the partition table and forgot to reformat the partition
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlytend has quit [Ping timeout: 244 seconds]
<fresheyeball>
cocreature: thanks
yonk23_ has joined #nixos
<fresheyeball>
cocreature: now I its nixy though, because I need to force a depencie to use slightly newer base (which should work out I think)
<cocreature>
afaik you need to at least recompile GHC to use a different version of base
<cocreature>
and at that point, upgrading GHC is usually the easier option
<yonk23_>
hey all, I'm currently packaging whipper (https://github.com/JoeLametta/whipper) for NixOS, but the build is a tad unusual because you first build a custom version of accurip with make and then install whipper itself via python setup.py. What would be the best way to package this? I currently have this (https://pastebin.com/rn9z5tFq), which works, but I'm unsure if this is the most elegant way. Any input
<fresheyeball>
I can't override the dependency to relax its version bound?
<yonk23_>
would be much appreciated.
pie__ has quit [Ping timeout: 260 seconds]
<cocreature>
fresheyeball: oh if that’s what you want to do, you can use doJailbreak
<cocreature>
your nixpkgs probably doesn’t have an all-cabal-hashes repo that’s sufficiently new to contain that version
freeman42x]NixOS has joined #nixos
<cocreature>
either choose a slightly older version or use a newer version of all-cabal-hashes
slack1256 has joined #nixos
<fresheyeball>
cocreature: I don't know how to go about that, as I did not know about callHackage until 5 minutes ago
<fresheyeball>
how can I get a different hash set?
<fresheyeball>
I am going to upgrade my nixpkgs
<fresheyeball>
see how it goes
<cocreature>
in addition to the "overrides" attribute that you pass to "override", you can also add something like "all-cabal-hashes = builtins.fetchurl { url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/${rev}.tar.gz"; sha256 = "${hash}"; };"
<fresheyeball>
weird ok
lord| has quit [Read error: Connection reset by peer]
betaboon has joined #nixos
<betaboon>
hello, has anyone attempted to write a boot module for refind ?
justbeingglad has joined #nixos
lord| has joined #nixos
justbeingglad has left #nixos [#nixos]
<samueldr>
betaboon: not yet
pie_ has joined #nixos
<betaboon>
hm. maybe i
<betaboon>
'll try then :/
<waynr>
does anyone here know if the github pull request labels are documented anywhere? I'm not sure what the "rebuild" labels on my PR mean: https://github.com/NixOS/nixpkgs/pull/43227
<waynr>
also, does anyone know if there is a way to get a list of all the installed packages in a given nix-env profile?
<clever>
waynr: that just means hydra is going to have to (re)build dnscrypt-proxy2 on linux and darwin
<clever>
waynr: nix-env -q
NinjaTrappeur has quit [Quit: WeeChat 2.1]
fuzzy_id has quit [Ping timeout: 276 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
mariatsji has joined #nixos
<waynr>
thanks clever!
mariatsji has quit [Remote host closed the connection]
<fresheyeball>
cocreature: building, you are the best
kyren has quit [Remote host closed the connection]
spinus has joined #nixos
kyren has joined #nixos
<spinus>
hello, I'm changing localectl set-x11-keymap en but it says "Failed to set keymap: Changing system settings via systemd is not supported on NixOS". For setxkbmap is says "Error loading new keyboard description". Few days ago I had no problems having proper keyboard layout, now any method (xfce keyboard layout as well) does not work (unstable channel), anybody has similar issue?
<infinisil>
spinus: setxkbmap -layout us?
nlytend has joined #nixos
<cocreature>
fresheyeball: nice! :)
<fresheyeball>
it really is the people in the community and in irc, that are making me a nix developer
<fresheyeball>
you all are the amazing
<spinus>
infinisil: us seem to not throw an error, but any other does
<infinisil>
spinus: Well then those are involid
<infinisil>
invalid
<spinus>
Yeah, just wondering why and how I can get my layouts back
<mkaito>
how would I go about trying the testing kernel?
clefru has quit [Quit: Leaving]
mroutis has quit [Ping timeout: 268 seconds]
pie_ has joined #nixos
tzemanovic has quit [Ping timeout: 244 seconds]
ixxie has quit [Ping timeout: 248 seconds]
slack1256 has quit [Ping timeout: 256 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
knupfer has quit [Remote host closed the connection]
clefru has joined #nixos
telent has joined #nixos
wgas has joined #nixos
<clefru>
elvishjerricco: FYI, "boot.kernelPackages = ((import <nixos-unstable>) {}).linux_4_17;" works fine
<elvishjerricco>
clefru: Cool
<elvishjerricco>
Ugh. `Connection Failed: DBusFailedError: Protocol not available...` when trying to connect to my headphones. This happens every now and then and I have to reboot to fix it
<elvishjerricco>
Anyone know what's up with that?
<elvishjerricco>
`systemctl restart bluetooth.service` doesn't help
<samueldr>
nope, and if you find out, elvishjerricco, please tell :(
<samueldr>
doesn't happen often, but when it happens, it's irritating
<Dezgeg>
well that one will break when linux_4_17 goes away from unstable
<samueldr>
Dezgeg: while it can be seen as a con, it's also a pro, you'll have to act on it instead of silently have it up/downgraded
jgt has joined #nixos
<samueldr>
(I generally select a 4_x package to at least keep the major kernel revision changes under my control)
<Dezgeg>
there's nothing different between 3.x and 4.x really
<samueldr>
let's revise for "minor"
<samueldr>
I'm acting as if X.Y is major for the kernel
<samueldr>
because as you said: nothing different really :)
<{^_^}>
[nixpkgs] @anjefu opened pull request #43229 → Add license to cpdf → https://git.io/fNfqu
<spinus>
I'm trying to override in configuration.nix, using nixpkgs.config.packageOverrides, but I want to override nested pacakge pkgs.xorg.keyboard-config, how I do that?
<spinus>
when I do xorg.keyboard-config = pkgs.xorg.keyboard-config.overrideAttrs it throws the error, I didn't find any examples how to do that, any idea?
nallar has joined #nixos
Ross has quit [Ping timeout: 264 seconds]
nallar is now known as Ross
vcunat has quit [Quit: Leaving.]
<infinisil>
Why not just write an xkb file?
<spinus>
infinisil: you mean the file that is consumed by xkbcomp?
<spinus>
sorry, I'm not very familiar with all keyboard config files
betaboon has quit [Ping timeout: 256 seconds]
nlytend has quit [Quit: disconnected.]
<infinisil>
spinus: What kind of keylayout mods do you need?
<spinus>
no mods, just basic
Lears has quit [Remote host closed the connection]
<infinisil>
Define "basic"
<infinisil>
You keep talking about wanting to set your layout but you never said what layout that is
<spinus>
currently I found issue in line 500 of layout "pl"
<spinus>
there is "--------------------" and I guess that should be a comment
<spinus>
I'll check original file and probably write to author, but in the meantime would be great to override this
phdoerfler has quit [Quit: Leaving.]
wgas has left #nixos ["Leaving"]
<infinisil>
spinus: Yeah hold on
<spinus>
ok, I found a way :)
<spinus>
xorg = pkgs.xorg // { here my package }
<spinus>
I see 2.24 is fixed on xorg server
<spinus>
so maybe simpler to bump it
<tenten8401>
Would anyone happen to know why I can't run the Minecraft game without using the package? Seems to be missing xorg.libXxf86vm system-wide, but installing it doesn't let the game launch
<tenten8401>
do I have to restart the computer to load the new xorg lib?
<tenten8401>
or restart xorg at least
<clever>
tenten8401: installing libraries wont help on nix
<infinisil>
spinus: You seriously gotta work on your wording, I still have no idea what you're talking about, has been happening a lot in our conversation
<spinus>
sorry man :-) I'll try to be more explicit
<spinus>
thank you for help
<infinisil>
spinus: Np, so it still doesn't work, or do you have everything figured out?
<spinus>
I've applied your patch to upgrade to 24 and waiting for massive rebuild, I guess it should do the job
<infinisil>
Well the simple patch i sent earlier should fix the problem too
<infinisil>
the one with the buggy line
<infinisil>
Did you set exportConfiguration = true; and look at /etc/X11/xkb/symbols/pl to see if the symlinkJoin correctly removes the ----?
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.eom: 1.20.1 -> 1.21.0 (#43028) »: https://git.io/fNfYH
bennofs has quit [Ping timeout: 255 seconds]
<tenten8401>
I mean, I think I got the escaping sorted out, but I'm getting an unexpected $undefined error, which doesn't seem to be related to the contents on the line it's pointing at
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-indicator-applet: 1.20.0 -> 1.20.1 (#42992) »: https://git.io/fNfOa
<tenten8401>
found one
winem__ has quit [Ping timeout: 255 seconds]
myshoe has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 244 seconds]
Thra11 has quit [Ping timeout: 248 seconds]
seafood has quit [Quit: seafood]
<jgt>
if I have a line like `riskbook = pkgs.haskell.lib.justStaticExecutables (import ./haskell-packages-dev.nix { inherit pkgs; }).riskbook;`, how would I set `doCheck = false` on the riskbook package?
<tenten8401>
ah yeah, LD_LIBRARY_PATH isn't getting set correctly at all, but I have a sneaking suspicion it may be the program's fault that it's crashing
<samueldr>
depends, on my revision clever the --suffix is given to makeWrapper
<samueldr>
tenten8401: not quite, fixed it here
<samueldr>
(updated my comment)
<samueldr>
still java.lang.ArrayIndexOutOfBoundsException, but LD_LIBRARY_PATH is there
goibhniu has joined #nixos
<samueldr>
oh, though looking at it it's been mangled
<tenten8401>
yeah, the java.lang.arrayindexoutofboundsexception is what I was looking at, let me ask in the ATLauncher discord
<tenten8401>
as it seems that even running it straight from my shell throws that error when using --working-dir on a manualy typed path
<clever>
tenten8401: you also dont need to copy $src to $out
<clever>
you can just -jar $src directly
<tenten8401>
how does that work? does it download it every time or something?
<tenten8401>
or does it reference it directly from the nix store?
<clever>
it references the copy in the store
<clever>
$src will always point to the result fetchurl made
<clever>
and if your output refers to that path, it becomes a runtime dependency
<tenten8401>
good to know
logzet_ has quit [Remote host closed the connection]
rschm has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
<tenten8401>
ATLauncher still seems to be crashing, I'll ask one of the devs about it
<samueldr>
ah I thought LD_LIBRARY_PATH was mangled, nah, just unusual construct (to me)
<samueldr>
`LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+':'}'...'` ensures there will be no prefixed lone ":" if there is no LD_LIBRARY_PATH set
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « libivykis: 0.42.1 -> 0.42.2 (#42991) »: https://git.io/fNfsB
<tenten8401>
Alright, so I figured out the issue with ATLauncher
<tenten8401>
turns out you have to use --working-dir=/test/dir
<tenten8401>
instead of a space
<samueldr>
ah, then trivial to fix :)
<tenten8401>
yeah, was looking through his code on github and noticed it was splitting by equal and not space
graphene has quit [Remote host closed the connection]
<tenten8401>
aay it launches now
<samueldr>
:) then it's only a matter of cleaning up and PRing :)
* samueldr
should lay down on the emoticons
pie__ has quit [Ping timeout: 240 seconds]
<tenten8401>
hopefully yeah
graphene has joined #nixos
lnikkila has joined #nixos
betaboon has joined #nixos
<betaboon>
so i got refind as an efi-bootloader vial boot.loader.refind as a nixos-module now, if anyone is interested: shoot
pie__ has joined #nixos
<samueldr>
betaboon: with full nixos generations support?
<samueldr>
definitely, something I wanted to look into someday
fragamus has joined #nixos
<betaboon>
samueldr: yes. it's pretty hacky at some parts tho, and alot of stolen code from systemd-boot
<samueldr>
borrowed!
<betaboon>
i've just been on a spree generating wallpaper, slim-theme and plymouth theme from within nix (using imagemagick) and now i just had to finaly get back to using refind :D
<qualiaqq>
Does anyone have a public configuration.nix file to share that has examples of setting up a program to auto-start on login? I'm guessing the best way to do it is with systemd.