<frumpagumpus>
k0001: let # inherit (nixpkgs) pkgs; channel = "nixos-16.09"; sysPkgs = import <nixpkgs> {}; # Use `runCommand` to grab the SHA of the latest build of the channel. This # ensures that the `nixpkgs` set we end up with has already passed through # Hydra and therefore has passed its tests and has a binary cache available. latestRevision = import (sysPkgs.runCommand "latestRevision" { buildInputs = [ sysPkgs.wget ];
<ryantrinkle>
Sonarpulse: that sounds great :) i'll be online for most of the night
JagaJaga has quit [(Ping timeout: 240 seconds)]
<k0001>
frumpagumpus: hmmm it looks like the message was cut. Can you paste it here instead? http://lpaste.net/
<gchristensen>
you might need to chat up shlevy or niksnut :)
<Sonarpulse>
ryantrinkle: ok dinner now
<Sonarpulse>
but I suspect just remove the iconv bit from coreutils might get you somewhere
<Sonarpulse>
the tl;dr is most crossAttrs are hihgly suspect
<gchristensen>
so much administrative stuff today I haven't even touched the roundup :o
<Sonarpulse>
and also iconv has been packaged weirdly wrt host vs target
<Sonarpulse>
I tried to preserve the weirdness, but maybe I didn't completely :/
estewei has quit [(Quit: Quit)]
mudri has quit [(Ping timeout: 276 seconds)]
<drakonis>
i am terrible at packaging.
eacameron has quit [(Remote host closed the connection)]
markus1199 has joined #nixos
<k0001>
frumpagumpus: I can't identify an obvious loop there, but I don't think you can just override `base` that way. It comes with GHC, so it's a bit special.
<k0001>
Also, you are calling ./default.nix twice, in case you haven't noticed. Although that's not related to the issue you mentioned.
<frumpagumpus>
any ideas on ways to override base? or possibly bytestring, which is also probably somewhat special?
<pierron_>
lol, gvim has a some software dead-pixels.
erasmas has quit [(Quit: leaving)]
markus1189 has quit [(Ping timeout: 248 seconds)]
<drakonis>
LnL, hey
<frumpagumpus>
:k0001: maybe using a different version of ghc would (possibly) pull the version of base I want?
<k0001>
frumpagumpus: what GHC version do you want?
<k0001>
frumpagumpus: instead of `pkgs.haskellPackages` you can use `pkgs.haskell.packages.ghc802`, for example, or `ghc7103`.
<frumpagumpus>
k0001: cool, thanks for the idea, I'll try it out (and use a different library if it doesn't work)
<frumpagumpus>
also just general question is there any good documentation on the layout of the nixpkgs namespace? (like utility functions for x located under y in arbitrary language z)
<frumpagumpus>
I've seen you can explore it with autocomplete in repl but names only give you a hint of semantics
athan has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<k0001>
gchristensen: can I share my hydra config with you? maybe you notice something obvious that I'm missing.
digitalmentat has quit [(Ping timeout: 255 seconds)]
m-i has quit [(Ping timeout: 252 seconds)]
unkn has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/vDOs6
<NixOS_GitHub>
nixpkgs/openssl-1.1 294be50 Robin Gloster: libevent: 2.0.22 -> 2.1.8...
<NixOS_GitHub>
[nixpkgs] globin opened pull request #22357: [WIP] Use openssl 1.1 by default (master...openssl-1.1) https://git.io/vDOGw
<copumpkin>
not sure about that
<gchristensen>
k0001: sure!
<gchristensen>
copumpkin: ''${
<gchristensen>
no?
<k0001>
gchristensen: I just pasted it some lines above.
<copumpkin>
oh it was what Somelauw and yorick said
<copumpkin>
I just was testing it wrong
<gchristensen>
neat
<copumpkin>
gchristensen: I needed a dollar plus the splice
<gchristensen>
k0001: looks fine to me :/
<gchristensen>
ah
sellout- has joined #nixos
AllanEspinosa has quit [(Ping timeout: 245 seconds)]
pstn has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/vDOZU
<NixOS_GitHub>
nixpkgs/openssl-1.1 c59bde0 Robin Gloster: socat: 1.7.3.1 -> 1.7.3.2...
<NixOS_GitHub>
[nixpkgs] yorickvP opened pull request #22358: asterisk: add lts version (master...asteriskupd) https://git.io/vDOZn
<gchristensen>
yorick++
<drakonis>
alas poor yorick
thc202 has quit [(Ping timeout: 255 seconds)]
<Somelauw>
okay, nix-install-package is everything you need to learn i guess
frumpagumpus has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/vDOZ2
<NixOS_GitHub>
nixpkgs/openssl-1.1 7e7cf62 Robin Gloster: pin some packages to openssl 1.0.2 for now
<Somelauw>
nope, something about locale not set-up right
michas has quit [(Ping timeout: 240 seconds)]
<drakonis>
i still can't figure out what's wrong on my derivation
<NixOS_GitHub>
[nixpkgs] BinaryTiger opened pull request #22359: Add vim-elixir to vim plugins (master...vim-elixir) https://git.io/vDOZX
johnsonav has joined #nixos
<NixOS_GitHub>
[nixpkgs] jagajaga closed pull request #22359: Add vim-elixir to vim plugins (master...vim-elixir) https://git.io/vDOZX
<Somelauw>
What does this line of code do? export LOCALE_ARCHIVE="$(nix-env --installed --no-name --out-path --query glibc-locales)/lib/locale/locale-archive"
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<Somelauw>
Is the following line that I don't understand a clean work-around for nix spamming "Setting locale failed" error messages? export LOCALE_ARCHIVE="$(nix-env --installed --no-name --out-path --query glibc-locales)/lib/locale/locale-archive"
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDOnY
<NixOS_GitHub>
nixpkgs/master d34ee52 Dan Peebles: aws-sdk-cpp: fix on darwin...
hotfuzz has joined #nixos
Shou has quit [(Ping timeout: 240 seconds)]
<copumpkin>
wow, aws-sdk-cpp takes a bajillion years to build
<copumpkin>
I guess that's what I should expect from a huge pile of autogenerated c++
<gchristensen>
the "Assorted" group is always harder to do :)
<copumpkin>
did you figure out your binary cache fix?
<drakonis>
hooray
<drakonis>
i did i
<drakonis>
it
<Somelauw>
Is there a bugreport yet to make /nix/store add the has at the end instead of the beginning. it's very difficult to read this way
<drakonis>
time to make a pull request
<gchristensen>
I shut it down, copumpkin
<drakonis>
my first package :v
<Somelauw>
s/has/hash
<copumpkin>
Somelauw: not that I know of; I don't see any fundamental reason to do it the current way but it'd be quite the departure and would rebuild everything
<copumpkin>
Somelauw: file a ticket and see if there's a stronger rationale for the way it is oday
<gchristensen>
copumpkin: not like we don't do that once a week or so ;)
<Somelauw>
ls | grep 'packagename' vs ls packagename*
<gchristensen>
there is a fairly good reason to do it the way we do: it more evenly distributes packages across btrees
<copumpkin>
well, *packagename
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<copumpkin>
you do need to add a * on both sides to account for version :)
<gchristensen>
I find it easier with the hash in front: it makes it consistently easy to scan a list visually
<gchristensen>
with the hash at the end, the version component is harder to find
<globin>
Somelauw: I think the btree distribution argument is in eelco's paper, already
<drakonis>
gchristensen, how would i go with commiting the derivation?
<gchristensen>
drakonis: sorry?
<gchristensen>
globin: really?
<drakonis>
uh
<drakonis>
i updated keepassxc?
<gchristensen>
oh, neat, have you `git commit`ed?
<Somelauw>
gchristensen: Is the b-tree argument not 'premature optimization'?
<drakonis>
no not yet
<drakonis>
i'm trying to figure how to get this to work
<drakonis>
the commiting that is
<gchristensen>
Somelauw: in under 2 weeks I've built over 10,000,000 derivations. I'm not sure that is premature.
<gchristensen>
drakonis: what are you having trouble with? have you used git before?
<drakonis>
i haven't actually used git for actual git purposes like commiting
<drakonis>
mostly just pulling things, really.
<gchristensen>
oh I see
modulistic has quit [(Ping timeout: 240 seconds)]
<gchristensen>
hmm walking you through a commit is probably a bit more than I can do. you could try some tutorials at github (https://services.github.com/resources/) or you could run `git diff` and I'd be happy to commit your first patch on your behalf
<drakonis>
alright
AllanEspinosa has joined #nixos
eacameron has quit [(Remote host closed the connection)]
modulistic has joined #nixos
Sonarpulse has quit [(Remote host closed the connection)]
<globin>
gchristensen: hmm apparently not in the first paper, but I'm quite sure I've seen it in one of the papers
<gchristensen>
ah
<drakonis>
so here's a question, keepassx2-http had a alias for keepassx-reboot, wonder if i should keep that alias and add another one?
<gchristensen>
at any rate, it is definitely not a premature optimization :)
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
<globin>
gchristensen, Somelauw: I have 145732 store paths on my laptop right now, that should actually be relevant %)
<gchristensen>
one thing I find annoying about how we package ruby dependencies: https://search.nix.gsc.io/?q=archive-tar-minitar <- going through and updating each of these is not my idea of a good time
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to master: https://git.io/vDOCa
<NixOS_GitHub>
nixpkgs/master 3d16d69 Peter Hoeg: qgit: 2.5 -> 2.6 (#22360)...
AllanEspinosa has joined #nixos
Rotaerk has joined #nixos
raiden_0x71 has joined #nixos
<gchristensen>
globin: I like your gutsy move on openssl 1.1 for 17.03 :D
<gchristensen>
[0__0]: seen spacekitteh
<[0__0]>
Yes, I saw spacekitteh 1 month ago.
<[0__0]>
spacekitteh said: "i call make in the env"
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<gchristensen>
spacekitteh would approve, I think, though, she'd prefer libressl ;)
<k0001>
gchristensen: hrmmm... I'm not sure how, but the binary cache thing is working now. Mostly I just restarted some of the many hydra services =S
<NixOS_GitHub>
[nixpkgs] globin force-pushed openssl-1.1 from 7e7cf62 to 76805c5: https://git.io/vDOWO
<NixOS_GitHub>
nixpkgs/openssl-1.1 eee99f4 Robin Gloster: afflib: 3.7.6 -> 3.7.15
<NixOS_GitHub>
nixpkgs/openssl-1.1 acd1d39 Robin Gloster: gsoap: 2.8.37 -> 2.8.42
<NixOS_GitHub>
nixpkgs/openssl-1.1 363defe Robin Gloster: imapfilter: 2.6.3 -> 2.6.10
<drakonis>
gchristensen, so how do i send this to you?
<globin>
gchristensen: yep, we're using libressl by default on our fork
<drakonis>
email?
<gchristensen>
drakonis: run `git diff | curl -F 'f:1=<-' ix.io` and cop
<gchristensen>
and copy the URL and send that to me :)
<drakonis>
nice
<gchristensen>
globin: fancy ...
<globin>
(or git format-patch HEAD~..HEAD) ;)
<k0001>
gchristensen: Oh, no, wait... I did add something the last time: a `binary_cache_secret_key_file` entry to the hydra config. It seems the one in the store-uri was not sufficient.
<gchristensen>
drakonis: after this one, I'd recommend taking some time and learning how to use git -- it will help a lot with your next contribution
<drakonis>
yes
<gchristensen>
ooh yeah do what globin said:
<k0001>
Maybe that did it... I don't know.
<drakonis>
i had to use git diff master to make it show up the renamed file
<drakonis>
but that one's gonna wait until tomorrow, gotta get some good sleep, gotta visit the dentist.
<drakonis>
aye.
<gchristensen>
ah! good luck :)
<gchristensen>
globin: ^ my secret technique is rope new contributors in early ;)
<drakonis>
gotta eat some of that sweet sweet commit tart
<drakonis>
good night folks
drakonis has quit [(Remote host closed the connection)]
proteusguy has quit [(Remote host closed the connection)]
panostimos has quit [(Ping timeout: 240 seconds)]
sitedyno has quit [(Ping timeout: 256 seconds)]
seagreen has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
danharaj has joined #nixos
<gchristensen>
hrm. our 389 package is like ... 9 releases old (1.3.5.4 vs. 1.3.5.15) wonder how many bugs are hidden in there :)
frumpagumpus has quit [(Ping timeout: 240 seconds)]
sitedyno has joined #nixos
seagreen has joined #nixos
obadz has quit [(Ping timeout: 248 seconds)]
obadz has joined #nixos
proteusguy has joined #nixos
muyfine has quit [(Read error: Connection reset by peer)]
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
katyucha_ has quit [(Ping timeout: 255 seconds)]
katyucha_ has joined #nixos
athan has joined #nixos
sophiag has joined #nixos
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
<sophiag>
i'm trying to install nixos for the first time and keep getting errors relating to files in nix/store
<sophiag>
first was a conflict with enabling wireless in my config and networkmanager.nix. then i commented that out and it's hung up on something in modules.nix that was generated automatically :/
<luigy>
how does one get wpa_supplicant after a nixos-install without any internet connection? is there something I can do from the usb
<luigy>
I enabled wireless + nixos-rebuild switch, but it tries to fetch things
<luigy>
by "enabled wireless" I mean I modified the configuration.nix
<clever>
luigy: simplest answer is to boot from the cd and re-run nixos-install, that is just a script that runs "nixos-rebuild" under a chroot for you
<clever>
luigy: so you can apply your new configuration.nix while using the CD's wifi drivers
<luigy>
oh that's awesome
<luigy>
thanks clever
<luigy>
I'll give that a shot
<clever>
yep
<clever>
its as simple as re-mounting everything, and running nixos-instal
<clever>
l
<luigy>
I wasn't sure if it was safe to rerun nixos-install
jasonwq has joined #nixos
<luigy>
that's cool
roconnor has quit [(Ping timeout: 258 seconds)]
ryantrinkle has joined #nixos
<sophiag>
clever: do you have any idea why my install could be failing due to something in modules.nix? searching github it seems it could have to do with boot.loader.grub...except i'm not seeing anything set to a bool as the error message is telling me
<sophiag>
"value is a boolean while a set was expected"
<jasonwq>
Anyone have experience with using the opengl render for clojures quil on nixos? It is having trouble fining libXxf86vm.so.1
raiden_0x117 has joined #nixos
raiden_0x71 has quit [(Ping timeout: 255 seconds)]
<clever>
sophiag: and what was the full error message?
<sophiag>
"value is a boolean while a set was expected, at /tmp/root/nix/store/8a4674xm6sv5b33yjbfy1i7x59rlkj3a-nixos-16.09.1608.7ae9da4/nixos/lib/modules.nix:218:62"
<sophiag>
i haven't edited modules.nix and that line doesn't even appear to contain a boolean...
<clever>
sophiag: can you rerun that with --show-trace and pastebin the full backtrace
<clever>
sophiag: looks like an issue with the xorg settings, reading it more...
<clever>
while evaluating the attribute ‘config’ of the derivation ‘kdmrc’ at /tmp/root/nix/store/8a4674xm6sv5b33yjbfy1i7x59rlkj3a-nixos-16.09.1608.7ae9da4/nixos/nixos/modules/services/x11/display-managers/kdm.nix:58:5:
<clever>
its unable to compute the kdmrc config
<sophiag>
oh, i didn't think to read that into it
<sophiag>
and didn't manually config anything to do with xorg
<sophiag>
btw this is after commenting out wireless.enable since it conflicted with networkmanager.nix
<clever>
something within the services.xserver block is probably the problem
<sophiag>
could be the line i added in to get this trackpad on a hand me down gaming laptop from acting wonky
<clever>
try commenting that out and see if it changes the result
<clever>
you can also use "nixos-rebuild build" to test things without applying them
hexagoxel has joined #nixos
<sophiag>
now i'm getting "the fileSystems option does not specify your root file system"
<clever>
sophiag: i dont see a rootfs defined in configuration.nix, so hardware-configuration.nix has to be doing that
<sophiag>
should i override it?
mguentner has quit [(Quit: WeeChat 1.6)]
<clever>
can you pastebin the hardware config?
<sophiag>
(this is my first time installing nix if it isn't obvious)
<NixOS_GitHub>
[nixpkgs] globin force-pushed openssl-1.1 from 76805c5 to 6639226: https://git.io/vDOWO
<NixOS_GitHub>
nixpkgs/openssl-1.1 35b8830 Robin Gloster: hostapd: 2.5 -> 2.6
<NixOS_GitHub>
nixpkgs/openssl-1.1 6170875 Robin Gloster: ipmitool: 1.8.15 -> 1.8.17
<NixOS_GitHub>
nixpkgs/openssl-1.1 6e84673 Robin Gloster: ircdHybrid: 8.2.2 -> 8.2.21
<sophiag>
sorry this is taking a while because the kde browser is garbage...can't load irc clients so i'm using two computers and pastebin is causing it to crash
<clever>
you can install an irc client onto the cd using "nix-env -iA nixos.irssi"
<clever>
yeah, the root is missing, try "nixos-generate-config --root /mnt" to regenerate it
defel has quit [(Ping timeout: 252 seconds)]
dbmikus has joined #nixos
sophiag has quit [(Quit: Lost terminal)]
dbmikus has quit [(Client Quit)]
dbmikus has joined #nixos
sophiag has joined #nixos
<sophiag>
clever: that generates the exact same hardware-configuration.nix...
<clever>
sophiag: and how is the rootfs mounted?
<NixOS_GitHub>
[nixpkgs] BinaryTiger opened pull request #22362: vimPlugins.alchemist-vim: init at rev c22d4883b7 (master...alchemist-vim) https://git.io/vDO02
<clever>
sophiag: what is the output of "mount" ?
<corngood>
Make sure /mnt is actually a mount of your target fs
<sophiag>
i'm running it off of cd
<sophiag>
(also warning, likely to get cut off of irssi frequently...)
<clever>
you need to mount the hdd to /mnt/ and boot to /mnt/boot/ before you run commands like nixos-generate-config or nixos-install
<sophiag>
ok, i was just following the nixos manual
mguentner2 has joined #nixos
<clever>
that should be in the manual
<sophiag>
no
johnsonav has joined #nixos
<sophiag>
oh wait...ugh
<sophiag>
i screwed up
mguentner has quit [(Ping timeout: 255 seconds)]
xwvvvvwx has quit [(Ping timeout: 255 seconds)]
<sophiag>
so what happened was when attempting to create a swap partition according to the instructions in the manual it renamed the entire volume to "swap"
<justanotheruser>
how do I set a custom keyboard layout that I can alternate between? I want russian dvorak
danharaj has quit [(Ping timeout: 276 seconds)]
<sophiag>
it recommends assigning a label with mkswap and i didn't realize that would relabel the entire volume even when i set only 8gb of it to swap space
<clever>
sophiag: you can run commands like "blkid /dev/sd*" and "fdisk -l /dev/sda" to inspect what is left
<sophiag>
i know what's left
<sophiag>
i just need to figure out how to do it correctly
<sophiag>
i suppose i need to partition the drive with fdisk before using mkswap?
<clever>
yeah
<clever>
and aim mkswap at the swap partition
<sophiag>
i don't understand why mkswap even takes a size parameter then
<clever>
if your using the gui cd, you can also use gparted
johnsonav has quit [(Ping timeout: 255 seconds)]
<clever>
and gparted will automaticaly format each partition with the correct tool (mkswap, mkfs, and so on)
athan has quit [(Remote host closed the connection)]
johnsonav has joined #nixos
<sophiag>
the thing is gparted isn't letting me create new partitions on it so i'm stuck using fdisk. i planned on doing this beforehand, but it had uefi instead of grub so i couldn't figure out how to switch the drive to ide to get seatools to recognize them
jasonwq has left #nixos ["Killed buffer"]
<sophiag>
...ok i feel stupid asking this, but i partitioned the
mzarella has joined #nixos
<sophiag>
oops...typing is tough on this
<mzarella>
how do i configure mopidy?
<mzarella>
where would the configuration file for it be located?
<sophiag>
i partitioned the drive in question with fdisk, but fdisk -l is still just showing the same drives
<mzarella>
i'm not on the machine right now, i just know this is a task i will be working when i'm back at the desktop
<clever>
sophiag: you need to run fdisk -l on the device, like "fdisk -l /dev/sda" if you want to see the partitions within it
<sophiag>
that doesn't show any
<sophiag>
ugh
<sophiag>
that doesn't show any partitions although it said they were created successfully
<clever>
sophiag: oh, what does "swapon --show" say?
<sophiag>
i had to turn swap off before doing this because of the mistake i made before
<sophiag>
hmm yeah it says no partitions are defined on the drive even after i create them...
<clever>
id say reboot and try it again
<sophiag>
ugh
<sophiag>
you think rebooting will fix whatever is going on with fdisk?
<sophiag>
or it's creating partitions and just not showing them?
<clever>
i think you probably missed something that is still keeping the disk open and doing things we arent expecting
<clever>
and a reboot is the simplest way to clear it all
<sophiag>
everything on here takes incredibly long because this laptop has a gigantic trackpad so you have to rest your palms on it while typing, which i guess it uses a driver to detect. but until i have that driver installed it's nearly impossible to use
<sophiag>
ok, lemme give it a try
sophiag has quit [(Remote host closed the connection)]
mzarella has quit [(Quit: leaving)]
m-i has joined #nixos
<Shados>
...Anyone know of a way to change which disk device shows up as /dev/sda, /dev/sdb, etc., without altering the physical connectivity? Or, alternatively, to change the PCI/e device enumeration order, as the disks in question are on separate controllers and thus I believe that would have the same effect.
<clever>
Shados: usualy you just switch to using UUID's so the exact path doesnt matter
<Shados>
I know. For terrible reasons beyond my control that can't easily be done (aka: fuck vendors).
fnljk has joined #nixos
fnljk has quit [(Remote host closed the connection)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
nekroze has joined #nixos
<nekroze>
Is there a way to sort a list of string alphabetically with nix?
<clever>
the lambda takes 2 items, and returns a boolean
sophiag has joined #nixos
<clever>
nix-repl> builtins.sort (a: b: a < b) [ "c" "d" "e" "b" "a" ]
<clever>
[ "a" "b" "c" "d" "e" ]
<clever>
nekroze: done!
<clever>
oh neat, and line 1478 is a special-case for exactly the code i just wrote, it will just bypass the nix and do the compare directly in c++
<sophiag>
clever: so i rebooted and tried partitioning again with fdisk, which gave me a name for the new partition...but it's still not showing up and i can't find it anywhere...
<clever>
sophiag: can you pastebin the fdisk commands you ran and all of the console output?
<nekroze>
clever: Living up to your username again :P thanks mate
<sophiag>
yeah, except i opened irssi in this window so had to just run them again...no named partition this time
<clever>
sophiag: you told it to quit without saving
<sophiag>
wow, i feel like a mess
k0001 has quit [(Quit: Connection closed for inactivity)]
rsa has quit [(Ping timeout: 260 seconds)]
sophiag has quit [(Remote host closed the connection)]
fnljk has joined #nixos
sophiag has joined #nixos
<sophiag>
welp...i'm back. partitions are all nice now, filesystem mounted, and it installs some libaries...but then gives me the same error about modules.nix :(
<sophiag>
last thing it installed was sqlite (forgot that existed in 2017)
<sophiag>
mount
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
<sophiag>
hardware config looks better this time. not sure how to tell if hte uuid maps to the correct drive, but it's there as well as the swap volume
<sophiag>
so i finally got nix to install, but i overlooked the fact that it didn't ask me to set a root password and rebooted anyway. how do i go about setting the root password? i can't even get to the grub menu, although i can open the grub shell and tty login
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
fabian_a has joined #nixos
uralbash has quit [(Ping timeout: 240 seconds)]
samvher has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
civodul has joined #nixos
mkoenig has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
jgertm has joined #nixos
<ronny>
anyone aware of a way to turn a set of lists into a product
mkoenig has joined #nixos
<avn>
buildEnv?
c0bw3b has joined #nixos
<avn>
or I not catched you?
ntc has quit [(Ping timeout: 240 seconds)]
<ronny>
avn: i have a list of file extensions and a list of name suffixes, and i would like to get all combinations
proteusguy has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Remote host closed the connection)]
<sophiag>
any idea why i would get a response "can't find home directory. using ./ instead" after login? i just installed nix and it's making it so i can only boot to tty. i figured it was because i specified a user in my initial config so tried deleting that part and the same from /etc/shadow so i could recreate the account with useradd, but it's persisting
<ronny>
sophiag: nix has some protections builtin for users vs mutable users, its possible you triggered one of those (they prevent nix from breaking your things at the expense of allowing you to break things yourself
<sophiag>
maybe missing a slash?
MoreTea has joined #nixos
<sophiag>
ronny: that sounds likely. i also had to reset the root password from grub since i for some reason wasn't prompted to set one after install
<sophiag>
i think there was a not about it affecting that?
<sophiag>
*note
<ronny>
i dont know the details either
<ronny>
if you are that early in the install however, how about just doing a reinstall using the config you made
<sophiag>
hmm true
<sophiag>
i guess there's no harm
viric_ is now known as viric
<sophiag>
and then if i'm not prompted to set a root password i guess i should just remember to do it manually before rebooting?
<sophiag>
and probably leave users out of the config file i use for install?
<sophiag>
the other thing i'm wondering is how to get to the actual grub menu. f2 isn't working...
ckauhaus has joined #nixos
mkoenig_ has joined #nixos
mkoenig_ has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 256 seconds)]
<sophiag>
oh, wait. i didn't rebuild after trying to wipe the user
proteusguy has joined #nixos
<sophiag>
still getting used to this :p
fritschy has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
mkoenig has joined #nixos
m-i has quit [(Remote host closed the connection)]
m-i has joined #nixos
Mercuria1Alchemi has quit [(Remote host closed the connection)]
jgertm has quit [(Ping timeout: 252 seconds)]
MercurialAlchemi has joined #nixos
teknico has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
c0bw3b has left #nixos []
meloc has joined #nixos
<sophiag>
ronny: installing again from the live cd leaves me with the exact same problem. i'm pretty sure now it didn't every install correctly to begin with, which explains why i can't reach grub efi and why i'm not prompted for a password after install :(
goibhniu has joined #nixos
<sophiag>
i could try wiping everything with seatools, but i still won't know what went wrong in order to install it correctly
proteusguy has quit [(Remote host closed the connection)]
<ronny>
sophiag: i aslo had trouble with grub, i use systemd-boot now (gummyboot)
<sophiag>
i've used grub for a long time on debian. the issue is it's just not being installed correctly
<sophiag>
i think i really did things wrong by thinking i was making it easier on myself writing an initial config. that breaks the whole idea of nix. i should have just used the default one and built it up piece by piece
<sophiag>
but now it seems i can't actually roll back and do have to wipe the drives
<sophiag>
at least i know how to install it quickly now if it is in fact something in my config screwing it up
ckauhaus has quit [(Quit: Leaving.)]
rmeis has joined #nixos
Wizek has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
kampfschlaefer has quit [(Quit: No Ping reply in 180 seconds.)]
ThatDocsLady has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
kampfschlaefer has joined #nixos
panostimos has joined #nixos
Itkovian has joined #nixos
ThatDocsLady has joined #nixos
ckauhaus has joined #nixos
rly has joined #nixos
<sophiag>
seems my whole issue is specifying the path for grub efi
<NixOS_GitHub>
[nixpkgs] viric pushed 1 new commit to master: https://git.io/vDOyX
<NixOS_GitHub>
nixpkgs/master 8389060 Lluís Batlle: Updating shotcut to 17.02.
glines has quit [(Ping timeout: 240 seconds)]
pi3r has joined #nixos
sweber has joined #nixos
Tarinaky has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] PierreR opened pull request #22367: haskell-swagger2: don't haddock to fix haddock build error (master...patch-swagger2) https://git.io/vD3TZ
freusque has joined #nixos
<copumpkin>
niksnut: I'm amazed at how slow aws-sdk-cpp is to build. I swear LLVM + clang is faster
<schoppenhauer>
hm. I have the strange bug that virtualbox often crashes at some point and then whenever I try to start the machine again, it will go 100%cpu and freeze. I only have this bug on nixos.
<schoppenhauer>
and I do not see what I might be doing wrong
mudri has joined #nixos
<copumpkin>
niksnut: you have a moment to take a look at a sketch of something I want to write?
<LnL>
eqyiel: can't you make the build use python2, it shouldn't matter that there's also a python3 available
<bennofs>
eqyiel[m]: one way might be to use gnomeShell.overrideDerivation { propagatedBuildInputs = []; } instead of just gnomeShell as build input
<eqyiel[m]>
LnL: AFAICT it uses both, but python3 is first in the PATH, so autoconf picks that up first
xeviox has joined #nixos
<LnL>
does adding it python2 to the buildInputs help there?
<LnL>
otherwise you could just export PATH="${python2}/bin:$PATH" in preConfigure
<eqyiel[m]>
nope
michas has quit [(Ping timeout: 276 seconds)]
<eqyiel[m]>
that would work, but are kludges like that accepted into nixpkgs?
<eqyiel[m]>
it seems like a hack
<eqyiel[m]>
bennofs: I'll give that a try too, thanks
<LnL>
bennofs' suggestion might also work, but then you end up with two versions of gnomeShell
<copumpkin>
niksnut: if you have a moment at some point, this is the rough sketch of what I want to do with deterministic evaluation: http://lpaste.net/6763013052271951872. Otherwise I'll put it up on github when it's a bit more complete. As a refresher, it's fkz's idea to use scopedImport and a couple of fairly simple primops for playback and recording
<gchristensen>
eqyiel[m]: the thing about kludges is that if they get you to send a PR, someone might know a better solution
<eqyiel[m]>
gchristensen: :D
<LnL>
eqyiel[m]: I think it's fine, but you should probably add some comments explaining why it's there
<LnL>
we even have a package that exploits a bug in md5 to work around purity
<gchristensen>
oh my god
<gchristensen>
link? :D
<LnL>
facepalm, I was using the wrong houd instance
<AMDmi3>
gchristensen: thank you; no, actually I want to add nix support to repology.org
<AMDmi3>
gchristensen: for that I need parsable package names+versions
<domenkozar>
ocharles: strawman arguments ftw :)
<gchristensen>
what is this?
<AMDmi3>
gchristensen: I wanted to peek at how monitor parsed these
fritschy has quit [(Remote host closed the connection)]
MoreTea has joined #nixos
<ikwildrpepper>
AMDmi3: phreedom knows all about monitor
<AMDmi3>
gchristensen: it's a service which compares package versions among a lot of repositories to report outdated packages and stuff; kinda like monitor itself, but with more repos support
<gchristensen>
there is documentation somewhere about the rules of version strings :/
<gchristensen>
I can't find it though
<jophish>
ocharles: might be better interpreted as "jophish got sick of trying to fiddle with hydra in Perl and he likes Haskell the best"
<gchristensen>
ikwildrpepper: do you know where to find the rules nix-env uses to parse version strings?
<AMDmi3>
gchristensen: oh, that would be super cool
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<gchristensen>
I'm very motivated to help people making tools that will help me :)
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
<gchristensen>
interesting that they chose PEAR when Composer was already the defacto standard when they wrote the example
<MoreTea>
ah, I know nothing about PHP packaging.
<gchristensen>
PEAR is a monster pain. Composer supports installing PEAR stuff, if you can deviate from the example
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vD3BN
<NixOS_GitHub>
nixpkgs/master 9438cc2 Bas van Dijk: shelly: fix build on GHC-8.0.2
<NixOS_GitHub>
nixpkgs/master 437d236 Peter Simons: Merge pull request #22373 from LumiGuide/shelly-ghc802-fix...
<MoreTea>
I'm looking for a `GEM_HOME` like setting to quickly hack something together
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to release-16.09: https://git.io/vD3Rm
<NixOS_GitHub>
nixpkgs/release-16.09 b3e955c Peter Simons: Merge pull request #22373 from LumiGuide/shelly-ghc802-fix...
<Turion>
jophish, that would be cool. Is there a language that supports them natively? I know that Idris does Uniqueness types, but don't know how that would work in crypto
<jophish>
Turion: Uniqueness types were inspired by linear types, so they should be up to the task of making sure an IV is used once
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<AMDmi3>
so yes, it just splits by dash followed by non-letter; and yes, it'll fail on font-bitstream-100dpi-...
<gchristensen>
if you find names you can't parse, feel free to open an issue listing them, or send PRs fixing them
ertes has quit [(Ping timeout: 240 seconds)]
rmeis has joined #nixos
<gchristensen>
I think they're probably named as they are out ignorance of why it matters. I certainly haven't considered it.
eacamero_ has joined #nixos
<gchristensen>
though, some packages are just going to be tough, like the `389` package, oy!
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vD3uW
<NixOS_GitHub>
nixpkgs/master 7bc1701 Dan Peebles: aws-sdk-cpp: 1.0.48 -> 1.0.60
<AMDmi3>
389 is fine as it's not prefixed by a dash
eacameron has quit [(Ping timeout: 240 seconds)]
<gchristensen>
niksnut: can you take a look at a test and some output? things seem to be happening out of order, and I really don't understand.
mguentner2 is now known as mguentner
fnljk has quit [(Read error: Connection reset by peer)]
<LnL>
yeah I've seen some PRs where people use name = "foo-v0.x" not realising that it also breaks nix-env upgrades
<LnL>
I would prefer if drv.version was a thing
<AMDmi3>
LnL: +100
<gchristensen>
niksnut: https://gist.github.com/grahamc/512f74951a2063efc8e9ec33f7602a68 here is a test and its output, where the commands being run and then the output are not displayed at the same time, in fact of the commands run, and then all of the prints happen.
freusque has quit [(Read error: No route to host)]
<yorick>
drv.version is a thing sometimes
<yorick>
getVersion checks for it
fnljk has joined #nixos
freusque has joined #nixos
ertes has joined #nixos
toogley has quit [(Quit: toogley)]
<AMDmi3>
I think I've sorted it out; almost ready to deploy
goibhniu1 has joined #nixos
<AMDmi3>
now the most important question, how to call the repository canonically? is NixOS fine?
<gchristensen>
copumpkin: you know tests, would you take look-see at my link from ~10min ago? :)
<AMDmi3>
NixPkgs / nixpkgs / Nixpkgs?
goibhniu has quit [(Ping timeout: 248 seconds)]
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<gchristensen>
well
<gchristensen>
heh
<niksnut>
maybe you should print to STDERR instead
<niksnut>
stdout might not get flushed right away
<niksnut>
gchristensen: ^
k0001 has joined #nixos
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
<gchristensen>
it depends if you want to track NixOS Stable (what nixos users running stable use), NixOS Unstable (what nixos users on the bleeding edge), tested-nixpkgs (what nix users on debian / ubuntu / rhel / centos / osx use) , or nixpkgs the raw repository, AMDmi3
<gchristensen>
niksnut: hmm ok, can do -- thank you :)
<manveru>
does anyone know how i can get lines like "domain foo.bar" in the /etc/resolv.conf when using the systemd-resolved?
<manveru>
man 5 resolved.conf says it's an option...
<NixOS_GitHub>
[nixpkgs] FRidh fast-forwarded python-wip from fae20e6 to 364f089: https://git.io/vD3K9
<corngood>
srhb: maybe some termcap problem? Which terminal, and is it over SSH?
<srhb>
Xterm with tmux, not ssh. I'll try without tmux
<corngood>
Yeah xterm should be fine on most systems. I would have suggested trying it if you were using something else
<NixOS_GitHub>
[nixpkgs] bennofs opened pull request #22378: haskell-modules: split off nix-specific overrides and common ones (master...haskell-split-overrides) https://git.io/vD36w
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<corngood>
That's strange. Just plain old SSH to nixos?
<srhb>
No ssh at all. Xterm on NixOS.
<srhb>
Perhaps it's just a weird Nix version. I think I'll downgrade to stable.
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
eacamero_ has joined #nixos
xeviox has joined #nixos
<k0001>
srhb: I've seen that as well. It got magically fixed for me, so maybe some fix went into nixos-16.09 already.
<srhb>
k0001: Oh, okay :)
<k0001>
I haven't seen this issue for 2 or 3 months now.
khajvah has joined #nixos
<k0001>
I don't think it's related to the terminal or SSH because I haven't changed my terminal or SSH config since that time.
bennofs1 has joined #nixos
bennofs1 has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] PierreR opened pull request #22379: hackage2nix: remove swagger2 from the list of broken packages (master...swagger2-patch2) https://git.io/vD3Xj
bennofs1 has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
Itkovian has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
[0x4A6F] has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vD3Mn
<NixOS_GitHub>
nixpkgs/master 1d85e0b Fernando J Pando: hologram: 8d86e3f -> d20d1c3...
<NixOS_GitHub>
nixpkgs/master ff8a21e Daniel Peebles: Merge pull request #22348 from nand0p/hologram-module...
danharaj has joined #nixos
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<Turion>
I'm thinking about going to nixos from gentoo. Is there a guide somewhere that describes what I might miss?
JagaJaga has joined #nixos
bennofs1 has quit [(Ping timeout: 258 seconds)]
<viric>
you will miss the warmth
<simpson>
Turion: As a former Gentoo person, it'll be a completely different experience.
<simpson>
And a much slower experience because you'll have to compile a lot more stuff.
<gchristensen>
you might miss revdep-rebuild
<gchristensen>
but really, you might miss USE flags
<viric>
and etc-update (2500 files outdated)
<simpson>
Ah, yeah, use the `ufed` tool for USE flags, use `eix` for searching Portage...
<Turion>
simpson, I'm already compiling everything on gentoo, how could I have to compile even more?
<Turion>
gchristensen, but will I need revdep-rebuild? I thought that with nix it's not necessary to have it
<simpson>
Turion: Oh, I'm sorry! I totally misread. I thought that you were doing NixOS -> Gentoo.
<gchristensen>
Turion: it was a "neg" / joke
<simpson>
Gentoo -> NixOS, the biggest thing is that there's no FHS.
Itkovian has quit [(Ping timeout: 260 seconds)]
Itkovian_ has joined #nixos
<gchristensen>
(and a not funny one, at that)
<NixOS_GitHub>
[nixpkgs] globin force-pushed openssl-1.1 from 47f6589 to 7923852: https://git.io/vDOWO
<NixOS_GitHub>
nixpkgs/openssl-1.1 5a1975a Robin Gloster: socat: 1.7.3.1 -> 1.7.3.2...
<NixOS_GitHub>
nixpkgs/openssl-1.1 77d8279 Robin Gloster: afflib: 3.7.6 -> 3.7.15
<NixOS_GitHub>
nixpkgs/openssl-1.1 29fbaf9 Robin Gloster: gsoap: 2.8.37 -> 2.8.42
glines has joined #nixos
<Turion>
gchristensen, so nix is not as configurable as gentoo?
<copumpkin>
Nix is more configurable!
teknico has left #nixos []
<Turion>
simpson, I'm fine if I don't have to touch many files outside /home.
<gchristensen>
I think you would be well served by trying nixos, my hope is you won't be missing too many thing.s
<Turion>
I had a look at a few nix build scripts and it seemed to me that there is a lot of repetitive code (like writing out build commands), and I thought that ebuilds seemed to be the better build system
<gchristensen>
yeah, so that is our stable release
<gchristensen>
I wonder what the "rolling release" / unstable would report
<yorick>
Turion: mostly, if things install gtk, you won't notice it because it's somewhere in /nix/store/sgirfhewfuhwaleukfh-gtk-1337/
<simpson>
Turion: I'd say "hack".
<AMDmi3>
gchristensen: oh, is it not rolling? i'd like to have rolling too
<gchristensen>
it is not, stable only receives security patches
<Turion>
yorick, a lot of packages can be configured to build or not build gtk support. I want to save myself the pain of building it
<gchristensen>
but I don't know how to get you packages.json.gz for unstable
<maurer>
AMDmi3: That seems to indicate packages are being counted as outdated if they have both new and old versions
<maurer>
AMDmi3: is that correct?
<Turion>
And one thing I couldn't quite find out is how much Perl is still used
<yorick>
of course you will be awake at night knowing your system has gtk but not really anywhere that you would notice it
edvorg has joined #nixos
<simpson>
Turion: You usually won't compile it; you'll get it downloaded from a cache.
<yorick>
Turion: you don't have to build most things if you don't change the defaults
<maurer>
AMDmi3: e.g. apache-httpd and acpi-call packages
<AMDmi3>
maurer: I've noticed that too; likely not. it's getting complicated as long as you have more than one package foo per repository, but I'll fix it
<yorick>
if you change things to remove a gtk dependency, you'll need to rebuild that yourself though
eacamero_ has quit [(Remote host closed the connection)]
<Turion>
simpson, oh, I see! Didn't quite get that across when reading about nixos.
eacameron has joined #nixos
<AMDmi3>
note that there're also per-maintainer lists of outdated packages
rly has quit [(Ping timeout: 255 seconds)]
<copumpkin>
Turion: the idea is that with a closed world and hashed build instructions, we distribute the instructions and then "cache" the build results from those, so your machine always knows how to build everything, but in practice you might not build very often
<Turion>
Do you think it's easier to write custom packages from, say a github repo, for nixos than for gentoo?
<copumpkin>
Turion: so you get speed for common cases but can tweak all sorts of options and flags if you want to
ryantrinkle has left #nixos []
eacamero_ has joined #nixos
<Turion>
copumpkin, ok, makes sense!
<Turion>
And how easy is it to update a package that is out of date on the global repository?
<copumpkin>
make a PR
<copumpkin>
it's pretty easy
eacamero_ has quit [(Remote host closed the connection)]
<the-kenny>
Turion: a completely new package is not super-easy but okay if its build process is somewhere similar to an already existing. Updating is usually just chaging version + hash and opening a PR.
eacamero_ has joined #nixos
<the-kenny>
Turion: the good thing is: It's reproducible. If it's building on your machine it's pretty much guaranteed to work on other machines too, so you can't accidentally miss dependencies etc.
rmeis has quit [(Ping timeout: 245 seconds)]
frumpagumpus has quit [(Ping timeout: 264 seconds)]
<LnL>
and distributed builds are also really cool if there's some stuff you have to compile yourself
<Turion>
ok, that sounds good
eacameron has quit [(Ping timeout: 260 seconds)]
Itkovian_ has quit [(Read error: Connection reset by peer)]
<LnL>
I don't compile anything on my laptop anymore
<Turion>
Is there anything like Gentoo slots on nixos?
<maurer>
AMDmi3: It might be nice if you somehow obscured or protected from scraping those emails, putting up a big list like that seems like asking for spam
<Turion>
Packages that depend on different versions of the same library
<maurer>
Turion: unnecessary, you just reference different expressions
<maurer>
Turion: So there will be nixpkgs.libfoo and nixpkgs.libfoo2 for example, and one package will reference nixpkgs.libfoo, and the other references nixpkgs.libfoo2
<maurer>
slotting is primarily necessary to put different versions of a library into the same file tree
<the-kenny>
Turion: Nothing gets installied "globally". That means you can have one package using foo-1.0, another one foo-1.1 and another one foo-1.0 with xyz-support compiled in.
<LnL>
maurer: maintainers.nix also contains all the emails
<maurer>
LnL: Yeah, but github is not frequently scraped ime
<maurer>
LnL: because of its sheer size
<AMDmi3>
maurer: I find that useless and inconvenient; these emails are already available cleantext in the repository, thus are public
<the-kenny>
Turion: You can even spawn two shells, one having firefox-1.0 and another one having firefox-1.1 available. And it's *only* available there.
<AMDmi3>
I've planned to change mailto:'s to per-maintainer pages though
<maurer>
AMDmi3: It's not a matter of public/non-public, it's a matter of whether scraper bots will find them >_>
<AMDmi3>
I'm assuming they already have as long as the email was published publically
<Turion>
the-kenny, ok, that's very convincing
<Turion>
What's the biggest hurdle to take when setting up a new system (laptop, single user, KDE)
[0x4A6F] has quit [(Quit: [0x4A6F])]
<gchristensen>
coming from gentoo, I think it'll be learning the UI of nix
endformationage has joined #nixos
<yorick>
LnL: build servers are not all that cheap, though
<LnL>
build servers?
<Turion>
gchristensen, I guess that's doable with a cheat sheet
<yorick>
LnL: well, what do you build on
<gchristensen>
Turion: and the, if I may, excellent #NixOS community :)
ixxie has joined #nixos
<maurer>
yorick: Probably his desktop
<Turion>
gchristensen, the #nixos community is a hurdle or it's the reason it's doable? :P
<yorick>
people have desktop? but cloud!
<LnL>
yorick: I was talking about suff I build on my laptop
<gchristensen>
Turion: part of the reason it is doable :)
<maurer>
yorick: Didn't you just get finished saying the cloud is expensive?
frumpagumpus has joined #nixos
<yorick>
yeah, but so are desktops
<LnL>
^^
<maurer>
Not compared to what my utilization would cost in the cloud :P
<Turion>
gchristensen, that's great. To find about that is the reason why I'm hanging around here for a while before actually installing
<gchristensen>
cool
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Turion>
The main thing that's annoying me about gentoo is how hard it is right now to update stuff. portage is a complex tool and there are so many things I don't understand about it. Since I'm a functional programmer, I'm hoping that it would be better on nixos
<Turion>
Trying to upgrade and then downgrade to the previous state is so hard sometimes
<gchristensen>
near impossible!
<Turion>
and revdep-rebuild seems to me like a fix to something that shouldn't have been broken in the first place
<gchristensen>
yes!
<gchristensen>
see, you're already a NixOS lover at heart.
<Turion>
seems like it ;)
<Turion>
Sure, the #gentoo people are very knowledgeable and helpful, but there is only so much you can do
<gchristensen>
that knowledge will be very helpful for nixos too, I know I depend on the excellent Arch wiki on a regular basis
<yorick>
nix-env -f '<nixpkgs>' -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz -qa --json should give the packages.json, but I don't think AMDmi3 could run that themselves
eacamero_ has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
<copumpkin>
niksnut: is there an underlying principle that explains why some things are __foo and others are builtins.foo, and others exist in both places?
<yorick>
(and maybe it should just be the master instead of channel)
<copumpkin>
niksnut: (for primops I mean)
eacameron has joined #nixos
<gchristensen>
copumpkin: I think __foo is secret
<copumpkin>
oh, I should've PM'd
<copumpkin>
:P
<gchristensen>
:)
<Turion>
gchristensen, oh, good topic. How good is nixos documentation? It seemed to me to be smaller and less mature than either Arch or Gentoo
<copumpkin>
so builtins are meant to be used to build other stuff
<copumpkin>
__foo is for internal implementations and such?
<gchristensen>
Turion: smaller and less mature than arch or gentoo
eacamero_ has joined #nixos
<copumpkin>
Turion: we had a wiki but decided to kill it, for some reason
<copumpkin>
I'm not a fan of that decision, if not obvious
<gchristensen>
copumpkin: same
<gchristensen>
but the spam was pretty nasty
<copumpkin>
might be time to re-evaluate it
<Turion>
I find the quality of the Gentoo wiki and the coverage of the Arch wiki amazing
<copumpkin>
well, spam can be solved
<gchristensen>
I agree
<copumpkin>
the major motivation I thought was that the docs get out of date
<gchristensen>
I dunno
<copumpkin>
which can also be solved but requires people to pay attention to it
<Turion>
I looked at some nixos wiki some days ago
<copumpkin>
Turion: yeah, it has a big "this is deprecated" notice at the top, and can't be edited
digitus has joined #nixos
jgertm has quit [(Ping timeout: 258 seconds)]
<Turion>
Oh ok
<yorick>
copumpkin: can the people who are happy with the wiki kill raise their hand?
<gchristensen>
Turion: the wiki was somewhat out of date a year ago, and then was made read-only :P
<Turion>
Well, Gentoo ported their old wiki to a new wiki and improved the quality vastly in the process
eacamero_ has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
<yorick>
I think a part of the problem is that horrid xml format
<yorick>
and I can never find the manual
eacameron has joined #nixos
<Turion>
Sounds like a relaunch is in order?
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
<Turion>
I don't know how I could have coped on Gentoo without Wiki and IRC
<gchristensen>
lots of content from the gentoo & arch wikis apply to nixos
<Turion>
If nixos is easier and more vanilla than Gentoo, then the Wiki needn't be great
<gchristensen>
vanilla?
<yorick>
I don't think nixos is any kind of vanilla
<yorick>
it's more like icecream with insects or something
eacamero_ has joined #nixos
<gchristensen>
hey now, I didn't put bugs in your ice cream
<Turion>
Sounds like #nixos is a bit more fun than #gentoo maybe ;)
<Turion>
vanilla in the sense that packages stay mainly like upstream intended them
eacamero_ has quit [(Remote host closed the connection)]
<Turion>
Not like ubuntu who patch a lot in their own special way
<gchristensen>
ah
<yorick>
does the #python topic still have "NO FUN" in it? not a fun place.
eacamero_ has joined #nixos
<yorick>
yeah, patching is mostly done just to make things work
<simpson>
yorick: It does not; you may now spam and chatspeak to your hearts' content.
eacamer__ has joined #nixos
<simpson>
Yes, #python is Where Manners Go to Die, but whatever. That's not our fault; it's the nature of support channels.
eacamer__ has quit [(Remote host closed the connection)]
<yorick>
simpson: sadly, freenode isn't allowing me to join more channels
khajvah has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 264 seconds)]
eacamer__ has joined #nixos
khajvah has joined #nixos
<yorick>
(the limit is 120, apparently)
eacamero_ has quit [(Read error: Connection reset by peer)]
eacamer__ has quit [(K-Lined)]
<yorick>
Turion: the nixos experience: spend an hour reading source code, then write 1-3 lines of nix and then it works forever
<Turion>
yorick, sounds great, except that one hour reading source code
<gchristensen>
*shrug* nixos isn't perfect
<yorick>
Turion: enabling kde is probably services.xserver.enable = true; and then it's the default
<yorick>
gchristensen: well, I like the working forever part
<yorick>
(except spotify, that only works for a week or so, but that's their fault)
<simpson>
yorick: Ask in #freenode if you want your channel limit increased. That said, 120 is insane and I don't know how you do it.
<Turion>
that's better
<gchristensen>
I get stressed at my ~15
<yorick>
mostly I forget to garbage collect them
herzmeister has joined #nixos
<clever>
yorick: heh, most networks ive been to cap me at 20
<Turion>
One other question. How much Perl is still used in nixos? And why?
<yorick>
I might just write a .patch instead of all those substituteInPlaces
jaqa11 has joined #nixos
<savanni>
Is there anyone who can help me build a nix derivation file for purescript? I need to depend on one particular one that isn't part of the mainline, and I don't understand how the mainline purescript packages are built.
<yorick>
(but that won't help the desktop file)
<gchristensen>
that is sometimes nicer
<gchristensen>
savanni: I know domenkozar has been working with purescript lately
<gchristensen>
but he's been extremely busy, not sure he's around
<gchristensen>
well so to make the db, I think you have to build everything in nixpkgs
<pikajude>
that sounds easy
<benzrf>
augh
<benzrf>
seriously though i constantly get owned while trying to install a haskell package and it fetches the newer version of the dependency but the package still relies on the older version
ntc has quit [(Ping timeout: 258 seconds)]
<benzrf>
isnt there anything i can do about that
<benzrf>
its such a pain
<copumpkin>
pikajude: niksnut might have ideas for that. We discussed something like that in one of the tickets but I can't remember
<benzrf>
aaugh
DutchWolfie has quit [(Quit: Konversation terminated!)]
<copumpkin>
I quite like my proposal because it makes the index just another output which you can generate from anywhere
<copumpkin>
nothing special about nars, binary caches, etc.
<pikajude>
that would be nice
<clever>
copumpkin: i was working on a similar PR at one point, a build hook that pretty much just did find $out -type f > $filelist, and outputs = [ "out" "filelist" ];
<clever>
but i never finished that one
gchristensen has quit [(Quit: WeeChat 0.4.2)]
<pikajude>
so docker is a thing now
gchristensen has joined #nixos
<copumpkin>
clever: that'd be super cool
<pikajude>
anyone using docker over plain old systemd services?
michalrus has quit [(Excess Flood)]
michalrus has joined #nixos
<benzrf>
anyway im trying to use ihaskell
<benzrf>
if i use ghc 8 i get an error from a dependency that wants base<4.9 if i use ghc 7 i get an error that `directory' and `filepath' are missing deps
<benzrf>
even tho both of those are listed as deps in nixpkgs code, so i dont know why theyre missing
<uerumi>
then i came across mopidy, and i couldn't figure out how to configure it...then i stepped away from the computer for a day or more and forgot what was going on
<clever>
uerumi: the above will give you an error, that also explains why -qaP didnt find it
<uerumi>
oh look at that
<yorick>
clever: no, qaP should still find it
<clever>
uerumi: -qaP wont show non-free packages until you enable non-free packages
<yorick>
ah there
<uerumi>
aha
viric has quit [(Ping timeout: 258 seconds)]
<yorick>
why not make it nonfree by default? the wrath of stallman?
<NixOS_GitHub>
nixpkgs/master 14a99b9 Tim Steinbach: Merge pull request #22382 from bachp/linux-4.9.7...
<manveru>
you probably only need the flash for that, but the rest is good for pdfs and netflix
<jophish>
gchristensen: sudo or not I get : error: not an absolute path: ‘././dobuilds.sh’
<gchristensen>
uhh
<jophish>
and if I use an absolute path to dobuilds I get "error: syntax error, unexpected '=', expecting $end, at /home/jophish/src/travis-nix-build/dobuilds.sh:7:8"
<jophish>
pretty weird
<gchristensen>
uhh
<gchristensen>
how are you calling it?
<clever>
jophish: it sounds like your running nix-build on a bash script?
<manveru>
yeah, i don't think that works on private packages easily
viric_ has quit [(Ping timeout: 255 seconds)]
Havvy has quit [(Ping timeout: 240 seconds)]
<manveru>
nor on nixpkgs...
Havvy has joined #nixos
<yorick>
manveru: it's very peculiar.
<yorick>
I've seen it update something once
<yorick>
last week
<manveru>
:P
<manveru>
i don't know how to invoke it, since the spotify.nix needs arguments, and it doesn't pass any
<manveru>
also it seems to operate on <nixpkgs> instead of the .nix i pass
<yorick>
I suggest we fork it and write our own, with blackjack and hookers
<manveru>
ah, got it!
<manveru>
still sucks when you don't want to update the one in nixpkgs... but i guess i can live with it
<manveru>
it actually updated shit
jarlg has joined #nixos
<manveru>
now i just need to fix the version string...
viric_ has joined #nixos
<manveru>
set_var_value alters the $3-th instance of assigning the $1 name in the expression to the value $2. $3 defaults to 1. It can modify $4 instead of the current target, it can put the value without quotes if $5 is 1.
<manveru>
wut
viric has quit [(Ping timeout: 240 seconds)]
UgJkA has quit [(Ping timeout: 256 seconds)]
contrapumpkin has joined #nixos
copumpkin has quit [(Ping timeout: 255 seconds)]
<manveru>
anw, version should be like 1.0.47.13.gd8e05b1f-47 and not "47" ...
jarlg has quit [(Quit: WeeChat 1.5)]
ryanartecona has joined #nixos
djwhitt has quit [(Ping timeout: 260 seconds)]
civodul` has joined #nixos
civodul has quit [(Ping timeout: 240 seconds)]
<manveru>
wasn't someone writing a nix parser in rust?
khajvah has quit [(Ping timeout: 240 seconds)]
<manveru>
at least we could do it with that... just parsing the meta and updating the values should be doable... :P
<clever>
manveru: there was also an hnix project
<manveru>
i'm too stupid for this walker
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
Itkovian has joined #nixos
<ertes>
what's the canonical way to override the version number of a package in haskellPackages? i need containers 0.5.9.1
ugjka has joined #nixos
<ertes>
i already use haskellPackageOverrides in my ~/.nixpkgs/config.nix
<vagranty>
hmm, OK, are there a lot of packages already defined?
<vagranty>
looks like not too many
<vagranty>
hopefully the dependency tree of this package isn't too large :)
<vagranty>
kind of weird that all of these rust packages are all spread out throughout nixpkgs as opposed to being in one place like python packages are... are they able to depend on each other?
samvher has joined #nixos
<tilpner>
vagranty - The dependencies (crates) are not specified. This is still reproducible because of Cargo.lock files
<vagranty>
But it requires networking during the build?
<tilpner>
Yes, it does
<vagranty>
also how do I specify dependencies? In the link you sent there's a depsSha256 argument, presumably that differs for each package?
<vagranty>
is there a tool to compute it?
<tilpner>
Maybe there is. I just picked it from the error messages
<tilpner>
I don't know how to install crates directly from crates.io, but I image it involves bundling a Cargo.lock
<tilpner>
*imagine
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #22387: cross stdenv: let build package's build deps resolve to native packages (master...cross-3-platforms) https://git.io/vDsaz
<vagranty>
cool, I'll look into it... thanks! :)
hiratara has quit [(Ping timeout: 255 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
cpennington has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] Profpatsch opened pull request #22388: networking.bonds: add support for arbitrary driverOptions (master...bonding) https://git.io/vDsrk
hiratara has joined #nixos
bennofs has quit [(Ping timeout: 276 seconds)]
sellout- has quit [(Ping timeout: 255 seconds)]
frumpagumpus has quit [(Ping timeout: 276 seconds)]
sellout- has joined #nixos
seagreen has joined #nixos
tvon has quit [(Ping timeout: 276 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #22370: gnome-tweak-tool: trick autoconf into using python2 (master...master) https://git.io/vD3tP
<simpson>
The wages of ambient authority are pain and suffering~
Itkovian has joined #nixos
<taktoa>
benzrf: if someone does some optimization work on the Nix evaluator, it might actually become feasible to have every version of every package (well, maybe not in nixpkgs proper, but in a separate repo / nix channel)
Jackneill has quit [(Remote host closed the connection)]
<benzrf>
really though, allowing references to specific versions is IMO pretty much an absolute necessity if nix is gonna deliver on its promises
faffolter has quit [(Ping timeout: 240 seconds)]
<simpson>
I mean, I'm looking at it in the other direction: Haskell packaging practices appear pretty bad at sane dependency management!
<benzrf>
oh no yeah they're shit
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<benzrf>
regardles, one of the biggest selling points of Nix for me was the idea that dependencies could be "behind the scenes" in such a way that they wouldnt conflict, and you could use anything you liked even if it needed differing versions
<simpson>
Sure. It's very easy to do it.
<benzrf>
yeah
<simpson>
*But* the design of the package sets in nixpkgs is usually trying to accomodate other things. For example, the Haskell package sets want consistency so that you can compose any Haskell dependencies into a single environment.
<benzrf>
but in practice that's not what happens, since you cant reference the old versions - they just get replaced
<benzrf>
heuh
<MP2E>
I think the main issues are A) evaluation time via nix and B) hydra resources
<MP2E>
would like to see more versions though
<benzrf>
woooo! only took multiple hours and editing read-only files, but i finally have ihaskell installed! yay for nix!