freeman42x[nix] has quit [Ping timeout: 256 seconds]
tenten8401 has joined #nixos
<{^_^}>
[nixpkgs] @andir opened pull request #41731 → nixos/memcached: added simple set/get test → https://git.io/vh2JD
<tenten8401>
I'm trying to run Everspace on my desktop NixOS install, and I seem to be missing libstdc++.so.6 according to ldd when I try launching the game
<tenten8401>
Would anyone have a clue what package I'd have to install to get that file?
<tenten8401>
maybe something like libcxxStdenv?
<LnL>
gcc, but installing something won't help to fix an error like that
<LnL>
it will still be looking in the wrong place to load it
<{^_^}>
[nixpkgs] @Infinisil opened pull request #41732 → some overrideDerivation cleanups → https://git.io/vh2Uv
<tenten8401>
LnL: When launching the game I simply see a "file does not exist" error despite very clearly existing
<tenten8401>
running ldd on the binary says it successfully links to every lib but libstdc++.so
<infinisil>
Who can I ping for my #41732 that removes some overrideDerivation uses to replace it with overrideAttrs?
<mpf>
I just started using nixos and for some reason I can't start my window manager. Or any window manager.
<mpf>
The display manager works fine
<mpf>
But as soon I enter my password, i get back to the login
<mpf>
Also the autostart option in the main configuration file doesn't seem to work. Which is good because I also can't change ttys while the display manager is running.
xcmw has joined #nixos
<mpf>
Any idea how to figure out what went wrong?
hamishmack has joined #nixos
mpf has quit [Ping timeout: 240 seconds]
jbboehr has quit [Remote host closed the connection]
<{^_^}>
[nix] @dtzWill opened pull request #2216 → download: if there are active requests, never sleep for 10s → https://git.io/vh2IR
micha1 has joined #nixos
micha1 is now known as mpf
steell has quit [Ping timeout: 265 seconds]
micha1 has joined #nixos
micha1 has quit [Client Quit]
mpf has quit [Ping timeout: 240 seconds]
Mr_Keyser_Soze has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phreedom has quit [Remote host closed the connection]
schoppenhauer has quit [Ping timeout: 248 seconds]
schoppenhauer has joined #nixos
<ryantm>
mpf: Have you looked at the journal for error messages?
smallville7123 has quit [Quit: rosa]
<ryantm>
mpf: `journalctl -b` will page the whole log since hte last boot
<ryantm>
mpf: Also you could pastebin your configuration, to see if someone here can spot a problem.
smallville7123 has joined #nixos
<ZaraChimera>
Back again. Now to try to get that openSUSE install working.
<ZaraChimera>
Step one is to get my drive completely formatted and set to DOS/MBR for disklabel. Since it's only a 300GB drive, I don't have to worry about support for the larger size.
<ZaraChimera>
In the installer is there a way to call up a virtual terminal (other distros have something like alt-f8 for example)
<ryantm>
ZaraChimera: Are you trying to isntall NixOS or openSUSE?
<ZaraChimera>
Whoops. Wrong window. I'm trying openSUSE at the moment. NixOS later.
<ryantm>
:)
<ZaraChimera>
If I recall, it's better to install NixOS last...
<ZaraChimera>
If I had a UEFI capable system I'd be making a single ZFS partition with each distro assigned to its own pool.
tzemanovic has joined #nixos
<ZaraChimera>
I'll more than likely come back to NixOS, but I need to get a functional day-to-day system suitable for my parents :)
tzemanovic has quit [Remote host closed the connection]
smallville7123 has quit [Quit: rosa]
Drakonis has joined #nixos
sorixelle has quit [Ping timeout: 260 seconds]
sorixelle has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<paraseba>
How can I tweak a Haskell package derivation so it produces binary outputs for not only the main executables, but also the test and benchmark executables?
matthewbauer has joined #nixos
smallville7123 has joined #nixos
<tenten8401>
Figured out what was wrong with my Everspace install a while back
<tenten8401>
wasn't related to missing deps at all
<tenten8401>
a space in the steam library folder name was preventing the game from launching and throwing illegal instruction errors and bunches of other crap
<hodapp>
already gave up trying to build Appleseed because I can't build Open Shading Language on NixOS due to GCC and clang not wanting to coexist... trying to get LuxCoreRender to build now
johnhamelink has joined #nixos
<hodapp>
but I keep forgetting how much it's in vogue to ship CMake builds that are basically broken out of the box except for on configurations where you wouldn't need CMake in the first place
mpf has joined #nixos
* dtz
hands hodapp a beer
<dtz>
also lol "yep" re:build systems
Guanin has quit [Ping timeout: 240 seconds]
<hodapp>
mlehhhhhhhhhhh
<mpf>
The exact error message: libinput: SynPS/2 Synaptics Touchpad: Failed to create device for /dev/input/mouse0
<mpf>
my user is in group input and /dev/input/mouse0 does exist
Guanin has joined #nixos
agile has quit [Quit: v]
agile has joined #nixos
jasongro` has joined #nixos
m0rphism has quit [Quit: WeeChat 1.9.1]
jasongro` has quit [Remote host closed the connection]
m0rphism has joined #nixos
freeman42x[nix] has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<mpf>
I get the feeling that several options I set in the configuration file get ignored by the system. -.-
<mpf>
I seriously hoped for a more straight forward experience.
medvid has joined #nixos
mpf has quit [Quit: WeeChat 2.0]
endformationage has quit [Quit: WeeChat 1.9.1]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
micha_ has joined #nixos
smallville7123 has joined #nixos
micha_ is now known as mpf
mpf has quit [Client Quit]
smallville7123 has quit [Quit: rosa]
iyzsong has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @xeji pushed commit from @jD91mZM2 to master « powerline-rs: 0.1.7 -> 0.1.8 (#41736) »: https://git.io/vh2Yr
jperras has joined #nixos
myshoe has joined #nixos
smallville7123 has quit [Quit: rosa]
phdoerfler has quit [Quit: Leaving.]
jperras has quit [Ping timeout: 264 seconds]
<mupf>
so
<mupf>
I finally eliminated all Xorg errors
<mupf>
but
<mupf>
I still can't login
<mupf>
This is frustrating.
medvid has quit [Quit: Account terminated by the PanicBNC Staff Team.]
<mupf>
the log only says: starting x11 server, stopped x11server .. until it says "start request repeated too quickly, failed with result start-limit-hit"
<{^_^}>
[nixpkgs] @Gerschtli opened pull request #41741 → pythonPackages.pdf2image: init at 0.1.13 → https://git.io/vh2sb
smallville7123 has joined #nixos
<Lears>
manveru: ¯\_(ツ)_/¯
nh2 has joined #nixos
filwisher has quit [Ping timeout: 260 seconds]
phdoerfler has joined #nixos
nh2 has quit [Quit: Leaving.]
phdoerfler1 has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 276 seconds]
nh2 has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
Ariakenom has joined #nixos
<{^_^}>
[nixpkgs] @xeji opened pull request #41742 → nixos/tests/gnome3: switch to lightdm → https://git.io/vh2GM
<tfc[m]>
hey there, i have a `#!/usr/bin/env nix-shell` script which does not run because some packages fail for me on my current channel. in order to test if it works with nixpkgs latest master, i set `export NIX_PATH=/path/to/repo_checkout`, and this works. i see no other way to point nix-shell to a custom nixpkgs repo checkout. are there better ways or is this already best practice?
<__monty__>
I think the derivation for dhall-text brings in dhall-1.11.1 while the cabal file needs >= 1.14.0 && < 1.15 should I report this as an issue?
<srhb>
__monty__: You can. dhall is fixed to 1.11.1 in configuration-hackage2nix.yaml
<srhb>
Presumably from whatever snapshot was used
<__monty__>
srhb: Would an issue be welcome or should I just doJailbreak?
<srhb>
__monty__: jailbreak will not help, as the version of the package "dhall" is literally 1.11.1
<__monty__>
Doesn't jailbreak remove the bounds on dependencies?
<srhb>
__monty__: Yes, that's exactly what it does.
<__monty__>
Then why won't it help?
<srhb>
__monty__: Assume we had dhall at the version 2.0.0
<srhb>
__monty__: Then, dhall-text would complain that it cannot use that library, since its version is above the upper bound of 1.15
<srhb>
__monty__: Now, jailbreak would work
smallville7123 has quit [Quit: rosa]
<__monty__>
Jailbreak only removes upper bounds?
<srhb>
No, I mean, you can absolutely try.
<srhb>
But that lower bound tells me that it actually doesn't work with versions below 1.14 (but it is a guess)
<srhb>
Upper bounds are more often guesswork rather than hard facts.
<srhb>
__monty__: The other alternative is to simply bump the dependency in an override.
jasongro` has quit [Remote host closed the connection]
JasonGrossman has quit [Ping timeout: 260 seconds]
<__monty__>
Hmm, probably prefer that. Any examples of such an override?
JasonGrossman has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
<mupf>
srhb: long story short, I tried compiling this project: https://github.com/mupfelofen-de/rainbow-joe at least it didn't work right away. Thanks for the link. I try to adjust my Makefile. Recommendations are still appreciated tough.
JasonGrossman has joined #nixos
jasongro` has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
jasongro` has quit [Remote host closed the connection]
<__monty__>
srhb: I'm still using overrides instead of overlays but I think I got it, thanks : )
<srhb>
__monty__: Cool. :)
filwisher has joined #nixos
qknight has joined #nixos
<__monty__>
Probably should switch to overlays, keep up with the times. But you whipper-snappers keep changing things up ; )
<srhb>
__monty__: Progress marches on :-)
tg has joined #nixos
nh2 has joined #nixos
<srhb>
It should be pretty easy to go from overrides to overlays. The other way around isn't always possible.
nh2 has quit [Client Quit]
phreedom has quit [Ping timeout: 250 seconds]
saep has joined #nixos
bennofs has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
bennofs has quit [Quit: WeeChat 2.0]
truthadjustr has joined #nixos
LysergicDreams has joined #nixos
zenojis has quit [Ping timeout: 260 seconds]
truthadjustr has quit [Read error: Connection reset by peer]
fendor has joined #nixos
testuser has joined #nixos
<testuser>
hi, after running "nixos-rebuild switch --upgrade", I'm getting the following error: http://dpaste.com/2C1D6XB - this is on 18.03. Any ideas how to debug this to see what's causing the issue?
<srhb>
testuser: I don't think you got the actual error message in that paste.
<{^_^}>
[nixpkgs] @MarcFontaine opened pull request #41747 → unixcw : init at 3.5.1 → https://git.io/vh2cj
<testuser>
srhb, this is the last lines of the command output, there are no error lines above it, only package list.
logzet has joined #nixos
<srhb>
testuser: Can you paste the whole thing anyway?
<testuser>
srhb, solved, I removed the last added entry, the peerflix package into configuration.nix, it appears to have solved the issue.
<srhb>
testuser: Cool. :)
LysergicDreams has quit [Quit: leaving]
<testuser>
srhb, thanks for the help anyways
rihards has joined #nixos
inquisitiv3 has joined #nixos
smallville7123 has quit [Quit: rosa]
<inquisitiv3>
I'm trying to install NixOS in a VM. Running Libvirtd and QEMU. I choose to have UEFI instead of BIOS for the VM.
<inquisitiv3>
But at startup I land pretty directly in the *UEFI Interactive Shell*
<inquisitiv3>
Do one need to use the rEFInd boot manager to boot NixOS on an UEFI machine?
filwisher has quit [Ping timeout: 276 seconds]
<inquisitiv3>
I don't know the purpose of the boot manager. I got to have it running using UEFI, because I don't have anything else.
<srhb>
inquisitiv3: I think most people use systemd-boot. I think the nixos installer detects if you're booted in efi mode nixos-generate-config (or whatever it's called) uses that by default.
jperras has joined #nixos
knupfer has joined #nixos
<inquisitiv3>
srhb: I'm trying to start the graphical live CD.
smallville7123 has joined #nixos
hamishmack has joined #nixos
<inquisitiv3>
I've just created the VM with the ISO (verified it with SHA256 sum) loading at startup.
b has joined #nixos
<srhb>
inquisitiv3: So once you have your root partition mounted on /mnt, nixos-generate-config --root /mnt should give you an /etc/nixos/configuration.nix to start out with
<srhb>
inquisitiv3: I *believe* based on the current boot mode, it decides whether to use grub or systemd-boot as the bootloader.
jperras has quit [Ping timeout: 260 seconds]
<inquisitiv3>
srhb: According to the manual it's like you believe. But my problem is to boot the graphical live CD in my VM. Is there any extra steps I've to take to get it to boot, or is it just an issue with the virtualization application I'm running?
<srhb>
inquisitiv3: Oh sorry, yes, I misunderstood.
steell-atwork has quit [Ping timeout: 260 seconds]
<inquisitiv3>
Can also be an issue that it can't find the ISO image when I come to think about it... I'll test to move it out from my home directory.
<srhb>
inquisitiv3: Hmm. I believe there used to be something specific that needed to be enabled to boot uefi correctly in qemu but I honestly don't remember the specifics.
<inquisitiv3>
srhb: No problem :)
<inquisitiv3>
The aren't any problems with the VirtIO drivers?
<srhb>
I don't know, sorry.
<inquisitiv3>
I got it working!
<inquisitiv3>
I moved the ISO to /var/lib/libvirt/images/
<inquisitiv3>
Choose the default chipset, manually set the CPU arch and didn't add the tablet unit.
<inquisitiv3>
I'll do some tests to see what caused the problem.
svarog has joined #nixos
<srhb>
inquisitiv3: Nice :)
<svarog>
i'm trying to get lattice diamond fpga toolchain to run on nixos and was wondering if there are some examples of wrapping rpm packages i could use as a reference/starting point?
regulus_ has quit [Ping timeout: 276 seconds]
<inquisitiv3>
It wasn't that I moved the file.
<srhb>
inquisitiv3: I suspect chipset.
smallville7123 has quit [Quit: rosa]
regulus_ has joined #nixos
<inquisitiv3>
srhb: As did I, but it seems that doesn't solve the problem neither. Can be that I choose to use SCASI for the CD drive, that boots the ISO image if I'm not wrong.
<srhb>
Weird. :)
tenten8401 has quit [Ping timeout: 260 seconds]
smallville7123 has joined #nixos
andymandias has quit [Quit: ZNC 1.6.5 - http://znc.in]
andymandias has joined #nixos
<testuser>
I'm continually running "nix-collect-garbage -d", yet my /nix is already 50GB - why is it so large, is there a way to clean something else in there also?
orivej has joined #nixos
smallville7123 has quit [Quit: rosa]
<srhb>
testuser: For instance, it can't clean your booted system (you still depend on that), so you might have to rebuild boot and reboot.
<srhb>
testuser: But no, that is the way to clean it. If there's 50GB and nothing gets deleted, you still have dependencies to everything in there.
<testuser>
srhb, the following take the most space: http://dpaste.com/13F6NRQ - I don't really need 4 versions of openoffice, why don't they get removed'
<srhb>
testuser: Because you're still depending on them somehow (they still have gc roots)
<srhb>
It's hard to say why without knowing your entire configuration.
<testuser>
srhb, can I somehow check which packages depend on which version?
<srhb>
testuser: You can use nix-store's various query functions
<srhb>
testuser: For instance, nix-store --query --referrers <path> will tell you which paths depend on <path> currently
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @worldofpeace to master « solargraph: 0.21.1 -> 0.22.0 (#41743) »: https://git.io/vh2WA
<srhb>
And --query --roots <path> will show you which garbage collection roots hold onto <path<
chessai has joined #nixos
phreedom has joined #nixos
smallville7123 has quit [Client Quit]
tzemanovic has joined #nixos
<testuser>
srhb, the /nix/var/nix/profiles/ contains the following: "default default-72-link per-user system system-338-link system-profiles" can some of the default-* be removed?
<srhb>
testuser: You should probably either uninstall or upgrade the packages with nix-env -e / -u instead.
<srhb>
testuser: (The answer is yes, you can, but you might suddenly be missing packages you didn't expect once you garbage collect)
<srhb>
testuser: So I recommend sticking to the nix-env interface
<srhb>
testuser: The default profile is probably what you'd be changing if you ever use "sudo nix-env" (which might be surprising)
<testuser>
srhb, I have those updated, I'm basically looking at removing the old boot entries that appear when trying to boot nixos, how can I do that?
<srhb>
Not quite sure, I rarely use nix-env.
<srhb>
testuser: That's what nix-collect-garbage --delete-old (-d) or --delete-older-than does
<srhb>
testuser: iff they can be removed (that is, none of them are your booted system)
iyzsong has quit [Ping timeout: 240 seconds]
<srhb>
testuser: In order to do that, you have to boot into your newest profile. You should then not depend on any old system profiles.
qknight has quit [Quit: Lost terminal]
<inquisitiv3>
srhb: It was because I used SCSI for the CD drive. When I choose SATA instead it works flawlessly to boot up.
<testuser>
srhb, http://dpaste.com/1TDNC2E the sysctl2-1-link is clearly quite old, based on 16.09 , is there a way to remove that?
<testuser>
srhb, I'm in my newest profile right now, but not sure why it depends upon those.
<srhb>
testuser: Well the profiles still exist. If you want to get rid of them, use nix-env to delete them entirely
<srhb>
testuser: Maybe there isn't actually a command for that. If you *know* you're not using the profile anymore, you can delete it by hand.
<srhb>
testuser: But be aware that you can get into hairy business if you accidentally garbage collect something that you were using.
<testuser>
srhb, as long as the system boots, it should be fine.
rihards has quit [Quit: rihards]
<srhb>
testuser: Unless you did something non-standard, that's the system profile, so just don't touch that :)
iyzsong has joined #nixos
silver has joined #nixos
eisbaer has joined #nixos
truthadjustr has joined #nixos
qknight has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
truthadjustr has quit [Remote host closed the connection]
truthadjustr has joined #nixos
owickstrom has joined #nixos
gerschtli has quit [Quit: WeeChat 2.0]
Ariakenom has quit [Quit: Leaving]
smallville7123 has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
acarrico has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 264 seconds]
<__monty__>
Hmm, could it be argon is using newer cabal syntax? Setup: ./argon2.cabal:5: Parse of field 'license-file' failed.
orivej has joined #nixos
<yorick>
shlevy: how do I use that nix fetcher of yours?
<yorick>
enable-unsafe-eval?
smallville7123 has quit [Quit: rosa]
<yorick>
ah, extra-builtins
smallville7123 has joined #nixos
chessai has quit [Ping timeout: 245 seconds]
init_6 has joined #nixos
truthadjustr has quit [Read error: Connection reset by peer]
<srhb>
Er, has anyone actually gotten the new taffybar 2 sniTrayNew to display anything?
Ariakenom has joined #nixos
owickstrom has quit [Ping timeout: 248 seconds]
phdoerfler has joined #nixos
<tilpner>
testuser - Did you run nix-collect-garbage as root?
<testuser>
tilpner, yes
<tilpner>
Huh, that's usually the culprit
klntsky has quit [Remote host closed the connection]
<__monty__>
Nix complains about the 'license-file' field in argon2.cabal but the cabal file on hackage only has a license-files field?
klntsky has joined #nixos
smallville7123 has quit [Quit: rosa]
jperras has joined #nixos
<hodapp>
is there a Nixpkgs ghetto where I can dump this derivation but make it clear that I want nothing to do with maintaining it? >_>
jperras has quit [Ping timeout: 264 seconds]
<hodapp>
would like to help out anyone else who wants LuxCoreRender to run, but this build is just too much of a mess.
<tilpner>
Hah, I wanted that too, for a few "failed packaging efforts"
<tilpner>
At the very least it says "n people already tried and failed to package this"
<hodapp>
really really wanted to get Appleseed renderer to build instead, but I am still stuck at https://github.com/NixOS/nixpkgs/issues/29877 trying to build Open Shading Language
<hodapp>
and don't know any way around that issue
<hodapp>
short of getting a Docker container that just happens to match every dependency and has both gcc and clang
saep has quit [Remote host closed the connection]
<hodapp>
oh, handy, someone already packaged PBRT in Nixpkgs and both those renderers are probably based off of it
knupfer has quit [Ping timeout: 255 seconds]
init_6 has quit [Ping timeout: 264 seconds]
<LnL>
hodapp: are you really sure it needs both gcc and clang?
<hodapp>
LnL: there might be a way to make it build completely with Clang but I've not really had success
<MichaelRaskin>
Life goals: write a C project that strictly requires use of at least three C compilers to build.
<hodapp>
MichaelRaskin: just make it a C++ project
<tilpner>
Bonus points if one of those is msvc?
<LnL>
hodapp: builds often hardcode gcc/g++ instead of using the $CC and $CXX environment variables
* hodapp
stabs tilpner
<LnL>
MichaelRaskin: :p
<hodapp>
LnL: I will try it now with clangStdenv rather than stdenv and see what I run into
<MichaelRaskin>
I said C compiler. MS compilers are very advanced tools for compiling languages superficially resembling the advertised ones
<LnL>
yeah try clangStdenv or libcxxStdenv and if it complains about gcc not existing replace those references with cc/c++
<hodapp>
it is building so far...
<srhb>
hodapp: It's designed to get your hopes up by deferring errors to as late as possible.
newhoggy has joined #nixos
<hodapp>
we'll see. OSL looks like less horrible of a build than LuxCoreRender
<hodapp>
that is, they actually seem to understand what a build system is for
<hodapp>
"/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash: /build/source/src/liboslexec/serialize-bc.bash: /bin/bash: bad interpreter: No such file or directory" k.
<MichaelRaskin>
There is an option that the third compiler is tcc used to compile a huge chunk of generated code that runs any optimiser out of RAM
<hodapp>
tcc, the tiny C compiler?
<MichaelRaskin>
Yes, the one that makes it almost a sane idea to compile Linux kernel for a desktop machine on boot.
<hodapp>
I think I read about that once
<hodapp>
I think I'll go send the POV-Ray devs a cake because I admire the fact that they never put me through build issues like this...
<hodapp>
"/build/source/src/liboslexec/serialize-bc.bash: line 11: hexdump: command not found" okay was that just... not a fatal error or something? shouldn't it have been?
MinceR has quit [Ping timeout: 265 seconds]
<Dezgeg>
if it's in a line like foo=$(bar) it's not even with set -e
<Dezgeg>
I think
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phdoerfler has quit [Quit: Leaving.]
<hodapp>
err, why does nixpkgs.eject = util-linux?
<hodapp>
where else might I find hexdump?
MinceR has joined #nixos
woodson_ has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<srhb>
hodapp: It is indeed in util-linux
<srhb>
Or well, utillinux
tzemanovic has quit [Remote host closed the connection]
<srhb>
And utillinux.bin specifically :-)
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<hodapp>
"python: command not found" wow, man, if only your build had some way of letting me know ahead of time that some tool is needed *before* the build starts. that'd be a good idea.
mcatis[m] has joined #nixos
tzemanovic has joined #nixos
<hodapp>
srhb: weird, then why is nix-env calling it 'eject'?
tzemanovic has quit [Remote host closed the connection]
<srhb>
hodapp: Not sure what you mean. eject is an alias into utillinux as well, but I don't see it being called eject itself...
<hodapp>
oh, perhaps it's because I searched util-linux and not utillinux
<hodapp>
yeah, if I do nix-env -qaP --description ".*util-linux.*" I just see nixpkgs.eject & nixos.eject
<hodapp>
next step: to go play whack-a-mole with Appleseed build issues.
newhoggy has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @bjornfor pushed 4 commits to release-18.03: https://git.io/vh2RX
<thekolb>
which characters are allowed in a deviation name?
<srk>
azAZ-_09
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @dudebout opened pull request #41755 → bind: compile with libcap → https://git.io/vh2Rx
<LnL>
hodapp: great!
<mupf>
hello guys, I tried adapring a nix expression for my personal C project. Now I get this error message when entering make inside the nix-shell: /nix/store/5gsk9p8w36dii5qz8m5ghq6gnqm05a0z-SDL2_image-2.0.3/include/SDL2/SDL_image.h:27:10: fatal error: SDL.h: No such file or directory
<hodapp>
"No rule to make target 'linux-gcc/libpng/libpng.a', needed by 'src/appleseed/libappleseed.so'. Stop." okay, I never really know how to interpret errors like this
<mjhoy>
obadz: For the most part i do get binaries
<mjhoy>
and i think i ran into trouble trying to run my nixos on nixpkgs-unstable
sorixelle has quit [Ping timeout: 240 seconds]
<obadz>
mjhoy: yeah when nixpkgs-unstable happen to be ahead of nixos-unstable your fine, but no guarantees
<mjhoy>
tbh i was pretty confused by the difference.
<obadz>
ok then use nixos-unstable on nixos and nixpkgs-unstable on darwin
<obadz>
the later builds packages for darwin, while the former runs more tests for nixos
<mjhoy>
My impression was that nixpkgs-unstable was a bit ahead of nixos-unstable
<obadz>
mupf: doesn't look like you have a ./configure so nix doesn't have a way to tell your makefile where SDL is
<mjhoy>
So it seems there would be more trouble using the former?
<mjhoy>
potentially
<mjhoy>
And packages built for darwin on nixpkgs-unstable are still available on nixos-unstable
jperras has joined #nixos
<mupf>
obadz: I never used autotools before. oh my. I hoped there would be a simpler solution
xcmw has joined #nixos
<obadz>
mupf: there is one, give me a sec
<obadz>
nobody wants to use autotools..
<mupf>
thanks
jperras has quit [Ping timeout: 256 seconds]
das_j has joined #nixos
thekolb has left #nixos [#nixos]
<das_j>
Hey everyone, I'm currently installing NixOS from Arch Linux onto a new ZFS dataset. However, nixos-install fails with "error: cloning builder process: Invalid argument". What could be the reason for this error? It's really hard to troubleshoot this because it lacks details
<das_j>
My exact command is: sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt -I helsinki=/mnt/var/src/helsinki
<inquisitiv3>
I'm looking at NixCon 2018. The event location seem to be quite central. Is the idea to sleep there or at another location?
<LnL>
mupf: nixos-unstable doesn't build darwin packages, so that's not necessarily the case, but in practice you probably won't run into issues
antoniofr has joined #nixos
<mupf>
LnL: i think you meant mjhoy
<LnL>
oh, sorry :)
<mjhoy>
LnL: yeah, that seems true except for today. guess i'll switch to nixpkgs-unstable for the time being which does fix my issue.
<mjhoy>
(true meaning not running into too many issues)
<antoniofr>
hi, I have tried nixos on my asus pc but had weird issue with display manager, after modifying configuration.nix and doing the switch display manager was not appearing anymore. :/ I wanted to ask what are the advantages to run nixos over just running nix package manager on slackware (an os that has never 'hanged' in black screen for me) Using nix packager is so much faster and nicer.
<obadz>
mupf: doesn't quite get you there but should be a leap forward
thekolb has joined #nixos
<infinisil>
,nixcon = NixCon 2018 will be in London on 25-27 October, https://nixcon2018.org/
<{^_^}>
nixcon defined
<thekolb>
does nix.buildMachines do anything at all when nix.dtsirubtedBuilds is false?
nh2 has joined #nixos
<infinisil>
thekolb: For some reason at some point I set the setting to false, but buildMachines was still used :/
<infinisil>
I had to unset buildMachines for it to not build remotely
<obadz>
mupf: seems to be an issue where one of the SDL headers is looking for another… I've seen this before but don't recall how to solve it
<thekolb>
(I have a jobset that wants a buildMachine feature, but only the local build machine, right now it seems hydra is not draining the queue even though localhost has the desired feature set via buildMachines)
thc202 has joined #nixos
<thekolb>
aside: any way to taskset the builder?
Sonarpulse has joined #nixos
<inquisitiv3>
Does the /boot partition need to be outside of an encrypted LVM partition?
acarrico has quit [Ping timeout: 264 seconds]
<thekolb>
infinisil: or rather, can my localhost have features?
<mupf>
obadz: thanks, I'll try
acarrico has joined #nixos
<antoniofr>
anyone?
jasongro` has joined #nixos
xy2_ has joined #nixos
chessai has joined #nixos
qknight has quit [Quit: leaving]
<thekolb>
and what is speedFactor?
<thekolb>
also what does mandatoryFeatures do?
<mupf>
obadz: it really helped!
<__monty__>
Is there a way to look at patched cabal files nix creates?
JasonGrossman has quit [Ping timeout: 245 seconds]
<mupf>
obadz: if you ever recall where you have seen this problem, please give me a note
<obadz>
mupf: almost done fixing
<mupf>
it seems the only thing missing
<mupf>
oh nice
antoniofr_ has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mupf>
I really appreciate what you did. I will use this as a reference for future projects
<obadz>
mupf: yes updated now
<mupf>
thanks i give it a try right away
<obadz>
mupf: no problem
<obadz>
mupf: if you just type nix-build it should produce the binaries
<obadz>
(does for me)
justanotheruser has joined #nixos
<obadz>
the rec wasn't needed after all you can remove that
antoniofr_ has quit [Quit: Page closed]
<{^_^}>
[nixpkgs] @bhipple opened pull request #41759 → pcsclite: fix URL for debian move to gitlab → https://git.io/vh2zE
<mupf>
obadz: feel free to send me a proper pull request
<mupf>
also: confirmed, works like a charm now
<obadz>
no need feel free to commit it :)
lnikkila has quit [Quit: lnikkila]
<mupf>
obadz: is there a reason why you added # at the git part?
<obadz>
just so that nix-build builds from local source rather than fetch them from github
<obadz>
but if you're only using nix-shell does not matter
<thekolb>
does a hydra build machine need an sshKey/sshUser even if its localhost?
<obadz>
infinisil: how does one interact with {^_^} ?
knupfer has joined #nixos
<infinisil>
,help obadz
<{^_^}>
obadz: Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<infinisil>
,nixeval obadz
<{^_^}>
obadz: I can evaluate nix if you prefix your expression with "> ". Use it here only for short demos or helping others with the syntax. If you wanna spam me, do it in #bottest!
xy2_ has quit [Ping timeout: 248 seconds]
<thekolb>
Also, is there a way to find out why jobs in the hydra queue are stalled/ignored?
xy2_ has joined #nixos
nh2 has quit [Quit: Leaving.]
<mupf>
obadz: sent the commit. thanks again. you where really helpful
aarvar has quit [Ping timeout: 265 seconds]
JasonGrossman has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
xcmw has joined #nixos
jasongro` has quit [Remote host closed the connection]
JasonGrossman has quit [Remote host closed the connection]
ixxie has joined #nixos
newhoggy has quit [Ping timeout: 240 seconds]
newhoggy has joined #nixos
JasonGrossman has joined #nixos
jasongro` has joined #nixos
<obadz>
mupf: np
newhoggy has quit [Client Quit]
bbarker has joined #nixos
<bbarker>
anyone else have weird character/terminal issues with 'nix repl'? Just trying it for the first time
silver has quit [Read error: Connection reset by peer]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<inquisitiv3>
Is there any good to know knowledge while partitioning for NixOS?
<inquisitiv3>
Or is it just to partition like if I would install Debian?
ryantrinkle has joined #nixos
matthewbauer has joined #nixos
<ryantrinkle>
when building with hydra, I often get error: a ‘x86_64-darwin’ is required to build ‘/nix/store/wcfb1bpsa6hzk1njc1yjim5inbdgwd8f-all-cabal-hashes-component-haskell-src-exts-1.20.1.drv’, but I am a ‘x86_64-linux’
<ryantrinkle>
but nix-build works fine
<ryantrinkle>
(when run as hydra, hydra-queue-runner, or root)
<ryantrinkle>
is there a way i can fix that?
<ryantrinkle>
this is on something that is being imported from derivation
<__monty__>
Where should I report an issue with doJailbreak?
justanotheruser has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 265 seconds]
bbarker has quit [Ping timeout: 240 seconds]
<LnL>
what kind of issue?
<thekolb>
Hmm so I found the issue I am having and a solution in https://github.com/NixOS/hydra/issues/289 but it still doesn’t really work for me. The only thing I can think of is that I might need SSH creds for localhost? But other jobs did get built...
owickstrom has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
jD91mZM2 has joined #nixos
gonz_ has joined #nixos
srl295 has joined #nixos
jasongro` has quit [Remote host closed the connection]
<thekolb>
meh... localhost has supportedFeatures = ["dyser" "kvm" "nixos-test"] and systems = ["i686-linux" "x86_64-linux"], and still hydra-queue-runner says "machineTypes":{"x86_64-linux:dyser":{"runnable":60,"running":0...
<thekolb>
:-(
<symphorien>
while running nix-store --verify --repair --check-contents I got error: executing SQLite statement 'delete from ValidPaths where path = ?;': constraint failed (in '/nix/var/nix/db/db.sqlite')
<symphorien>
What does it mean ?
<foldingcookie>
hey, I got that too
<foldingcookie>
(after foolishly manually deleting some files from the store and frantically running several commands to try to repair things)
<foldingcookie>
I ultimately had to go in and edit the sqlite3 database manually to delete the rows for the files that I'd deleted
<symphorien>
is it a bug then ?
<{^_^}>
[nixpkgs] @bhipple opened pull request #41761 → alsa: setup mirrors for src downloads → https://git.io/vh221
bennofs has joined #nixos
jperras has joined #nixos
logzet has quit [Remote host closed the connection]
<lejonet>
Is there anyway to reverse the ordering that the collected preStart snippets are combined in? I'm having a headache with postfix screwing around with stuff and I need to insert my own code in the preStart that is done in the middle of the preStart that the service module writes... or do I have to replace the module/make a PR to it to include a option to input stuff I need?
xy2_ has quit [Read error: No route to host]
xy2_ has joined #nixos
philippD has joined #nixos
<lejonet>
(essentially, the service supplied preStart nukes /var/lib/postfix/conf on each start, which is linked to /etc/postfix, which means that I can't use environment.etc to put stuff in there because it whines about redefining /var/lib/postfix/conf then)
<infinisil>
lejonet: mkOrder can make stuff ordered specifically, but I doubt it uses that
<lejonet>
infinisil: nope it doesn't, and its even further complicated by the fact that I need to do it in the middle of the service module supplied preStart :/
jperras has quit [Ping timeout: 276 seconds]
<lejonet>
I guess a PR for the service module to be able to add anything at all in /etc/postfix is needed
<lejonet>
all this because I want to use a database backing for virtual users in postfix...
<__monty__>
LnL: doJailbreak messes up a cabal file with a license-files clause.
alter-schjetne has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @oxij opened pull request #41763 → hello-unfree: init at 1.0 → https://git.io/vh2rt
deepfire` has joined #nixos
<hodapp>
w00000t. finally made Appleseed build.
<hodapp>
I guess I could add this and Open Shading Language to nixpkgs; I know Blender can make use of Open Shading Language if it's available (though I don't know how many Blender users are here, and of them, who even uses OSL in it)
<{^_^}>
[nixpkgs] @oxij opened pull request #41764 → nixos: add some more related packages → https://git.io/vh2r0
<lejonet>
Have nixops stopped honouring the NIX_PATH variable? Its giving me the finger when I want it to use another checkout of nixpkgs than what the system uses :(
<lejonet>
ah no, its just me thats blind
<joepie91>
lejonet: what was the issue?
<lejonet>
joepie91: I didn't read all of the error message xD
<joepie91>
lejonet: right, but specifically what part did you miss? I've had a few cases where I ran into issues that turned out to be user error, and IRC logs helped me realize what I did wrong :P
<lejonet>
It wasn't whining at the place I thought it was whining, but the addition I had done in the new checkout :P
<joepie91>
so it's useful to mention the exact mistake, heh
<joepie91>
ah, right
<lejonet>
^^ in this case it was whining at the usage of a new option I'm adding to postfix, and I thought it was whining at my machine conf, but it was actually whining at me for not prefixing it with cfg. so that it actually knew what the heck I wanted :P
broccoli has joined #nixos
<lejonet>
meh, postfix is still being a retard, siigh
<lejonet>
For some odd reason it is trying to include the files I've specified with the pgsql driver in the main.cf directly, so it spews out tonnes of "unused parameter" errors in the log (and with spew I really mean it, it whines at it 172! times for 6 files)
<lejonet>
I really don't know why
toby1851 has joined #nixos
<lejonet>
postmap can use the files directly as it should
katona has quit [Quit: Connection closed for inactivity]
humanoyd has quit [Quit: WeeChat 2.1]
drewc has quit [Read error: Connection reset by peer]
<lejonet>
I really can't find what it is that is causing that, postfix doesn't behave that way, at all, on my machine in production, its only on this nixos machine :/
<{^_^}>
[nixpkgs] @xeji pushed to master « nixos/tests/gnome3: switch to lightdm (#41742) »: https://git.io/vh26n
<inquisitiv3>
I'm trying to install Kakoune (text editor) in the graphical live CD while installing NixOS. But when I run the command `nix-env -i kakoune` I get the error message "error: selector 'kakoune' matches no derivations". I've updated the channel with `nix-channel --update`, but the problem persists.
<inquisitiv3>
symphorien: Thanks! I'll think about it in the future. :)
<inquisitiv3>
But it doesn't solve my problem :(
<symphorien>
what did you type exactly ?
<inquisitiv3>
When I run the command with the `-A` option added I get the error message "error: attribute 'kakoune' in selection path 'kakoune' not found"
<gchristensen>
nixos.kakoune or nixpkgs.kakone
<inquisitiv3>
symphorien: `nix-env -iA kakoune`
<symphorien>
then as gchristensen said: nix-env -iA nixos.kakoune
<inquisitiv3>
gchristensen: Do I need to prefix it with "nixos"?
<inquisitiv3>
That solved the problem!
<inquisitiv3>
Is it only necessary for some packages, or for all?
<symphorien>
for all of them
hotfuzz has quit [Ping timeout: 260 seconds]
<symphorien>
technically you can have several versions of nixpkgs under different prefixes, and the default one is "nixos."
<inquisitiv3>
symphorien: Okey. According to the NixOS manual one should only need to run the command `nix-env -i emacs` to install Emacs after generating the initial configuration.nix.
<inquisitiv3>
I ran `nix-env -iA nixos.kakoune` to get it working.
<symphorien>
-i without -A is highly non-intuitive
<symphorien>
you would have needed nix-env -i kakoune-unstable I think
<symphorien>
maybe we should get rid of all nix-env -i witout -A in the nixos manual
emmanuelrosa has joined #nixos
<elvishjerricco>
How active is nixpkgs compared to linux? Obviously we're smaller, but we seem much closer than most open source projects.
jperras has joined #nixos
<elvishjerricco>
I'm mostly wondering if it would make sense to start adopting some of the kernel's maintenance strategies.
<inquisitiv3>
symphorien, gchristensen: Thanks for the help! :)
<gchristensen>
:)
<gchristensen>
elvishjerricco: ~1000 PRs/mo +/- a few hundred
<inquisitiv3>
gchristensen: Sooner or later I'll have a running NixOS installation.
<gchristensen>
yay!
<inquisitiv3>
Now I can focus on the configuring the system. So many options... :)
<elvishjerricco>
gchristensen: So that's like 1 change per hour? Linux is like 8, isn't it? That's closer than I would have guessed
<illegalprime[m]>
Hi all, I'm trying to make a small patch to Okular. That has tons of dependencies that I can't seem to get right in my `shell.nix`, is there a way to get the derivation for Okular and load that environment in the shell (maybe with `nix-shell`)? This way I can get an easy dev environment set up. Thank you!
jperras has quit [Ping timeout: 276 seconds]
comphez[m] has joined #nixos
<inquisitiv3>
Something that confused me a little while skimming the NixOS manual. Are you supposed to create an account in the configuration.nix file, or create the account the "usual" way with `adduser`?
<MichaelRaskin>
Some people prefer one approach, some the other
<MichaelRaskin>
mutableUsers should be the keyword
<inquisitiv3>
So difference except for how you create the account?
<{^_^}>
[nixpkgs] @flokli opened pull request #41768 → darwin.iproute2mac: init at 1.2.1 → https://git.io/vh2ic
justanotheruser has quit [Ping timeout: 245 seconds]
sbdchd has joined #nixos
alexteves has quit [Read error: Connection reset by peer]
<inquisitiv3>
I'm little unsure about the Nix syntax and the documentation about the different options on the website. I want to create a normal user account and declare it in configuration.nix.
<inquisitiv3>
ixxie: Yes, but that is part of what confuses me.
<ixxie>
what is unclear?
<inquisitiv3>
The option to do that seems to be `user.[users | extraUsers].[username].[option]`. When I generated the initial configuration.nix file an example was `users.extraUsers.guest = [...]`. But according to the option documentation - and the one ixxie linked - one should declare the username inside curly braces.
<inquisitiv3>
I guess it's different way to organize things?
<inquisitiv3>
I haven't yet learn Nix, so my question can have a simple answer.
<ixxie>
inquisitiv3: that is how Nix works: a.b.c = true; a.b.d = 5; a.x = "this"; is the same as a = { b = { c = true; d = 5; }; x = "this"; };
<ixxie>
but it is painfully missing a section on attributes it seems
sw4n has joined #nixos
<inquisitiv3>
ixxie: I skimmed that article earlier. The closest I came to the notation of curly braces was is *Function* subsection. But that part didn't make it clearer for me.
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « sysstat: 11.7.3 -> 11.7.4 (#41510) »: https://git.io/vh2PQ
<inquisitiv3>
I guess if you got experience with Haskell it makes sense. But I don't have experience with it so it's little harder for me to understand that.
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « thermald: 1.7.1 -> 1.7.2 (#41512) »: https://git.io/vh2Pd
<hodapp>
"CMake Error: CMake can not determine linker language for target: SeExpr" wow, CMake continues to amaze me with the completely nonsensical errors it can concoct
Have-Quick has quit [Quit: Have-Quick]
<lejonet>
hodapp: cmake is a master of non-sensicality :P
<infinisil>
inquisitiv3: Nix has very little to do with Haskell
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « matomo: 3.5.0 -> 3.5.1 (#41540) »: https://git.io/vh2Px
<infinisil>
The only similarity being that both are purely functional
<lejonet>
(and a lot of nix:ers like haskell from my observation)
<joepie91>
infinisil: to people with no prior experience in purely functional languages, that mentally compiles down to "Nix and Haskell are similar" :D
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « springLobby: 0.255 -> 0.264 (#41508) »: https://git.io/vh2XO
<joepie91>
hmm. possibly
<inquisitiv3>
I know some YAML, but I don't see the likeness directly.
<ixxie>
inquisitiv3: there are manuals, the wiki, the chat and some tutorials here and there
<joepie91>
ixxie: however, where does `let ... in` come from then?
<ixxie>
inquisitiv3: it took me a while to get the hang of it as well
<booglewoogle>
hey everybody, just getting into nixos and trying to get my custom keyboard to work via this technique: https://stesie.github.io/2016/08/nixos-custom-keyboard-layout -- nixos-rebuild fails in compiling the XKB keyboard definition though..
<booglewoogle>
is there an easier way or any other way at all around this?
<booglewoogle>
i worked the suggestion from the blog post into my configuration.nix, replacing his xkb mappings with mine
<inquisitiv3>
ixxie: Just wondering, what is considered best practice of the two ways to declare the user?
<booglewoogle>
thanks a bunch, lemme check those links real quick
hph^ has quit [Ping timeout: 240 seconds]
<ixxie>
inquisitiv3: I like putting all those things together because they all relate to the same thing
<ixxie>
inquisitiv3: that is why they are in the same set
<ixxie>
they are logically connected
<thoughtpolice>
Hrm, is there any hook for something to wrap LD_LIBRARY_PATH for nix-shell? I have a nix-shell shebang that uses a python package, but the python package tries to load "libsasl2.so" out of the blue, rather than having a fixed path. Yet just adding "cyrus_sasl.out", which includes that library, doesn't add it to PYTHONPATH or LD_LIBRARY_PATH
<ixxie>
so it allows us to build our expressions as nested modules
<thoughtpolice>
Maybe I should just fix this in the package directly to load libsasl2.so unambiguously...
<inquisitiv3>
ixxie: So if I understand you correctly you think that `users.users.[username] = { ... };` is the best way?
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-desktop: 1.20.1 -> 1.20.3 (#41548) »: https://git.io/vh2XR
<infinisil>
thoughtpolice: the nix-shell shebangs can only do the most limited things, for anything more complex you need a nix file
<thoughtpolice>
Yes, I know that. That's kind of why I'm asking if there's a hook available that would automatically set the builder up. But I assume not.
<infinisil>
Although i think these shebangs look for shell.nix files too, so you could still use shebangs, but it needs a shell.nix
<thoughtpolice>
(Because adding an entire file is a tedious waste of time for what is literally a single dependency)
<thoughtpolice>
Really though the library should probably be fixed to actually have a dep/fixed path on cyrus_sasl anyway, considering it tries to load the library so early you more or less can't use it, otherwise
<booglewoogle>
infinisil: how would I work those into my nix config? sorry, I just installed it for the first time and am still struggling
<thoughtpolice>
In any case yes, nix-shell shebang support is annoyingly limited right now
<infinisil>
booglewoogle: Then run `setxkbmap -print > keymap.xkb`. Now you can modify this keymap.xkb file with whatever changes you need (it's a bit complicated though). To test the changes, run `xkbcomp keymap.xkb $DISPLAY`
hiratara has quit [Ping timeout: 245 seconds]
<booglewoogle>
okay
<MichaelRaskin>
I would say that if one doesn't understand the benefits and drawbacks of in-configuration user declaration, using useradd means one less change to internalise at once
<ixxie>
inquisitiv3: I think I made a mistake; its extraUsers
<infinisil>
booglewoogle: To get it into your configuration.nix you can set `services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${./path/to/keymap.xkb} $DISPLAY";`
<infinisil>
And that's pretty much it
hiratara has joined #nixos
hph^ has joined #nixos
<booglewoogle>
okay, i think i got it then
<infinisil>
Let me know if you need help with the xkb customization
<booglewoogle>
that should work, had to do it on the arch installs before :)
<infinisil>
Alright, nice :)
<thoughtpolice>
Ugh. I think it's actually a problem with cyrus_sasl possibly...
<thoughtpolice>
I'm guessing this will not be fun :|
xy2_ has quit [Ping timeout: 260 seconds]
<infinisil>
booglewoogle: That blog post goes a bit too far imo just to have it be a tiny bit more stateless
freeman42x]NixOS has joined #nixos
myshoe has quit [Quit: Lost terminal]
<infinisil>
s/more stateless/less stateful
<booglewoogle>
infinisil: ah, i see, by avoiding the .xkb file?
<infinisil>
Yeah
<inquisitiv3>
ixxie: Thanks for the example!
<inquisitiv3>
Has the Nix language changed much, or is it the same?
<MichaelRaskin>
Slow expansion for the last 10 years
<inquisitiv3>
Wondering if the tutorials has an "expiration date" or I should be able to read them without needing to think when they where written.
<infinisil>
The language stays the same, but nixpkgs will change
<MichaelRaskin>
There is a nontrivial chance of a major language change in the coming couple of years. Maybe.
<infinisil>
You mean that gist of eelco?
<inquisitiv3>
infinisil: Has that any significance if I'm trying to learn the syntax and concepts of Nix?
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to staging « libedit: 20170329-3.1 -> 20180525-3.1 (#41550) »: https://git.io/vh21U
<ixxie>
inquisitiv3: I am not the one to ask about the history but I am sure it has somewhat changed a couple of times
<ixxie>
inquisitiv3: I know there are some new features planned too
<MichaelRaskin>
There was a lot of incremental additions
<ixxie>
that gist is awesome isn't it
<ixxie>
I am excited
<inquisitiv3>
I'm trying to find the beast learning material. Should one look for Nix specific material, or read materials for JSON, etc?
<inquisitiv3>
What gist are you talking about?
<MichaelRaskin>
But no wipe-and-restart for last ten years
<ixxie>
inquisitiv3: we tried to put _something_ in the wiki and the manuals are great too
jummy has joined #nixos
<MichaelRaskin>
inquisitiv3: you don't want to think about it before learning the current state of affairs — it is not really a specific plan, and everything can still change. Or be cancelled
<ixxie>
inquisitiv3: the Nix pills are classic learning material but they are in many ways outdated
<ixxie>
inquisitiv3: what is your operating system?
<ixxie>
NixOS right?
<inquisitiv3>
ixxie: Currently Fedora, but planning for a full NixOS installation in the coming weeks if nothing goes wrong.
<inquisitiv3>
I'm installing NixOS in a VM currently.
camsbury_ has joined #nixos
xcmw has quit [Ping timeout: 240 seconds]
mjhoy has quit [Ping timeout: 260 seconds]
<ixxie>
inquisitiv3: well I recommend trying the following: make a default.nix that builds a project in your favorite programming language; make a shell.nix that puts you in an environment with some packages you need and an interpreter; make your own nixos module with some packages and services and your own option to enable and disable the modules which you can set in the main configuration file;
mjhoy has joined #nixos
<inquisitiv3>
ixxie: Thanks for the tip! But where should I find (good) information about what I should write in the `default.nix` and `shell.nix` files?
<booglewoogle>
infinisil: you find me baffled. this worked beautifully, I'm now on my layout!
<infinisil>
booglewoogle: \o/
mjhoy has quit [Client Quit]
orivej has joined #nixos
jummy has quit [Quit: Page closed]
<{^_^}>
[nixpkgs] @marsam opened pull request #41770 → synapse-bt: fix darwin build → https://git.io/vh21V
<inquisitiv3>
ixxie: Thanks for the links, but they don't explain what the syntax means. I'm considering to read the manual (as camsbury_ linked), but I think that you wrote that one shouldn't read it chronologically? Which section should I begin with?
<inquisitiv3>
I prefer reading texts so I understand - or at least have a gist - of what I do.
jperras has quit [Ping timeout: 248 seconds]
<inquisitiv3>
So
<inquisitiv3>
1. Skim text
<inquisitiv3>
2. While reading
<inquisitiv3>
2.1. Read text
<inquisitiv3>
2.2. Test things out.
<colemickens>
Can I have NM and also have wireguard interfaces defined statically in configuration.nix?
<inquisitiv3>
3. Profit! Just some more things to learn...
<booglewoogle>
infinisil: out of interest, if you don't mind: since I didn't need them, what were those files on your github for then?
<ixxie>
inquisitiv3: so read the wiki articles relevant, read the manuals, and look for blog posts I guess
<infinisil>
booglewoogle: That's my system config!
<booglewoogle>
trying to get behind them, seems like i can learn a thing both about nix and xkb that way
<booglewoogle>
so you're managing that just via .nix files
<booglewoogle>
it feels like a glimpse of what nix can do
<infinisil>
Mostly
tzemanovic has joined #nixos
<infinisil>
What do you mean?
<inquisitiv3>
ixxie: Okey, thanks for all your help!
<inquisitiv3>
And thank you MichaelRaskin for the small tidbits of information :)
<booglewoogle>
i have just used the xkb and made my config use it via your suggestion in chat, without usage of any nix files. you're using those though
woodson_ has quit [Ping timeout: 256 seconds]
<infinisil>
booglewoogle: My nix files are just like your configuration.nix
<infinisil>
You can split up nix files freely, making it more manageable if your config is pretty big
mjhoy has quit [Remote host closed the connection]
matthewbauer has joined #nixos
camsbury_ has joined #nixos
<{^_^}>
[nixpkgs] @thoughtpolice pushed to master « pythonPackages.pylibmc: fix runtime dependency on libsasl2.so, by way of cyrus_sasl »: https://git.io/vh2Mt
<{^_^}>
[nixpkgs] @thoughtpolice pushed to release-18.03 « pythonPackages.pylibmc: fix runtime dependency on libsasl2.so, by way of cyrus_sasl »: https://git.io/vh2MY
MP2E has joined #nixos
jperras has joined #nixos
<thoughtpolice>
Easier to fix than I expected...
ixxie has quit [Ping timeout: 240 seconds]
tertle||eltret has joined #nixos
<inquisitiv3>
ixxie: Thanks! I'll take a look.
<infinisil>
Hey, is setxkbmap installed by default on NixOS?
baconicsynergy has quit [Ping timeout: 276 seconds]
testuser has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
rihards has quit [Quit: rihards]
smc9115 has joined #nixos
igo95862 has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
kiliankoe has quit [Quit: Connection closed for inactivity]