<catern> hmm yes
<catern> so I could create that /run directory with root, but I don't really want to do that
<nh2> catern: some graphics driver discovery library might also do really ugly stuff, like do a directory scan to search for files of a given name (which won't be open()); nvidia binary driver does that IIRC
<catern> ^ that's just strace -f misc/wave.webm
<catern> er, strace -f mpv misc/wave.webm
<nh2> catern: you need also libGL.so.1
<nh2> that is the most important I think
lvernschrock has quit [(Ping timeout: 248 seconds)]
<nh2> (I have to go unfortunately)
<catern> okay
<catern> thanks for the help
<catern> it will lead me to a solution, so much appreciated :)
lvernschrock has joined #nixos
eacameron has joined #nixos
k0001 has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
<hodapp> siiiiigh. ROS has its own package manager
hellrazo1 has quit [(Ping timeout: 240 seconds)]
<hodapp> though I see acowley did make an attempt to integrate this with Nix somehow
mudri has joined #nixos
hellrazo1 has joined #nixos
<Infinisil> hodapp: Time to convince them to use nix instead :D
<hodapp> yeahhhhhh I'll get right on that
<hodapp> https://github.com/acowley/ros2nix is what I found
<hodapp> I'm running on a Raspberry Pi but haven't put Nix or NixOS on here yet
<hodapp> though - because I will need to keep multiple Raspberry Pis in sync - this may be a very good idea
mudri has quit [(Ping timeout: 255 seconds)]
<Infinisil> Indeed
Infinisil has quit [(Quit: leaving)]
Wizek has quit [(Ping timeout: 248 seconds)]
Wizek_ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQgA1
<NixOS_GitHub> nixpkgs/master cd1f998 Tim Steinbach: Revert "linux-copperhead: 4.11.8.a -> 4.12.a"...
NixOS_GitHub has left #nixos []
<aneeshusa> Is there an easy way to copy a script to the store and add an appropriate nixified shebang?
eacameron has quit [(Remote host closed the connection)]
noam__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQgxt
<NixOS_GitHub> nixpkgs/master d788244 Tim Steinbach: stdenv / booter: imap -> imap1...
NixOS_GitHub has left #nixos []
vaibhavsagar has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
noam has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vQgxG
<NixOS_GitHub> nixpkgs/master da7f680 dywedir: tlp: 0.9 -> 1.0
<NixOS_GitHub> nixpkgs/master c22bf27 Tim Steinbach: Merge pull request #27123 from dywedir/tlp...
NixOS_GitHub has left #nixos []
hellrazor has joined #nixos
johnramsden has joined #nixos
hellrazo1 has quit [(Ping timeout: 248 seconds)]
<clever> aneeshusa: "cp ${./input.sh} $out/bin/output.sh"; before the fixupPhase, and use #!/usr/bin/env foo
<clever> aneeshusa: the fixup phase will search for foo in $PATH at buildtime, and embed the absolute path
<clever> brb
<aneeshusa> thanks clever, just used writeScript for now but will file that away for later
<clever> yeah, you can also do #!${hello}/bin/hello if your using writeScript or writeScriptBin
<clever> this is another method
<clever> aneeshusa: substituteAll will replace every occurance of @foo@ with the ${foo} variable, which can come from the nix env
<Nobabs27> ok so I switched channels, how do I reinstall the packages?
<clever> in the tools.nix case, lines 28-38 become variables that can be replaced in the script
<clever> Nobabs27: where they installed with nix-env or systemPackages?
<Nobabs27> system
<clever> "nixos-rebuild switch" will atomicly update everything defined in configuration.nix
<Nobabs27> what if I dont want them updated, i just want them to be the latest in the channel
erictapen has quit [(Ping timeout: 240 seconds)]
<clever> ?
<Nobabs27> like I switched from unstable back to stable
<clever> nixos-rebuild will always "update" them to whatever the current channel says is the latest version
<clever> so it may downgrade if you changed the channel back
<Nobabs27> kk so nixos-rebuild is what i want
<clever> bbl
Guest398274 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] richardlarocque opened pull request #27131: mosquitto: Explicitly configure password file (master...mosquitto_pw) https://git.io/vQgxy
NixOS_GitHub has left #nixos []
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<ertes> i just updated tor browser, and now it won't work anymore, saying "Gah. Your tab just crashed."
<ertes> the console shows a bunch of error messages containing "Channel error: cannot send/recv"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #27132: rambox: 0.5.9 -> 0.5.10 (master...rambox) https://git.io/vQgxb
NixOS_GitHub has left #nixos []
<ertes> any ideas?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #27133: ammonite: 0.9.9 -> 1.0.0 (master...ammonite_1_0_0) https://git.io/vQgxN
NixOS_GitHub has left #nixos []
mkoenig has quit [(Remote host closed the connection)]
<ertes> i just tried the version on nixpkgs master, same thing
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
jsgrant has joined #nixos
aj_ has joined #nixos
aj__ has quit [(Ping timeout: 276 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
s33se has joined #nixos
cpennington has joined #nixos
s33se_ has quit [(Ping timeout: 248 seconds)]
aneeshusa has quit [(Quit: WeeChat 1.9)]
koserge has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27132: rambox: 0.5.9 -> 0.5.10 (master...rambox) https://git.io/vQgxb
NixOS_GitHub has left #nixos []
elvishjerricco has joined #nixos
<joepie91> 'Expected " ", "!", "!=", "#", "&&", "(", "*", "+", "++", "-", "->", "/", "/*", "//", ":", "<", "<=", "==", ">", ">=", "[", "\\"", "\\n", "\\r", "\\t", "let", "rec", "with", "{", "||", [0-9.], [a-z.], or end of input but ";" found.'
<joepie91> the joys of writing a parser... :P
lvernschrock has left #nixos []
Nobabs27 has quit [(Quit: Leaving)]
elvishjerricco has quit [()]
<dash> joepie91: heh, what are you using to write a parser
<dash> is that trifecta?
<joepie91> dash: PEG.js
<dash> ah.
elvishjerricco has joined #nixos
elvishjerricco has quit [(Client Quit)]
lvernschrock has joined #nixos
romildo has joined #nixos
eacameron has joined #nixos
nh2 has quit [(Quit: Leaving.)]
schoppenhauer has quit [(Read error: Connection reset by peer)]
spinus has quit [(Ping timeout: 255 seconds)]
schoppenhauer has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eba93076ec (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
lvernschrock has quit [(Remote host closed the connection)]
romildo has quit [(Read error: Connection reset by peer)]
cpennington has quit [(Remote host closed the connection)]
justelex_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #27136: gtk-engine-bluecurve: init at 1.0 (master...gtk-bluecurve) https://git.io/vQ2fI
NixOS_GitHub has left #nixos []
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
elninja44 has joined #nixos
ryantrinkle has joined #nixos
reactormonk[m] has quit [(Ping timeout: 276 seconds)]
baconicsynergy[m has quit [(Ping timeout: 276 seconds)]
baconicsynergy[m has joined #nixos
reactormonk[m] has joined #nixos
vaibhavsagar_ has joined #nixos
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justelex_ has quit [(Ping timeout: 276 seconds)]
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
justanotheruser has joined #nixos
vaibhavsagar_ has quit [(Ping timeout: 268 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<joepie91> clever: I'm up to line 68 in parsing all-packages.nix! :P
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #26761: qt5ct module: expose qtstyleplugins (master...master3) https://git.io/vQINZ
NixOS_GitHub has left #nixos []
elvishjerricco has joined #nixos
alx741 has quit [(Quit: alx741)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah reopened pull request #26755: . (master...master3) https://git.io/vQIsU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #26755: . (master...master3) https://git.io/vQIsU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah reopened pull request #26761: qt5ct module: expose qtstyleplugins (master...master3) https://git.io/vQINZ
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
sibi has joined #nixos
carlosda1 has quit [(Ping timeout: 260 seconds)]
aj_ has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
stranger__ has joined #nixos
<stranger__> anyone with networking background to help this person?
marsel has joined #nixos
orbekk has quit [(Ping timeout: 260 seconds)]
orbekk1 has quit [(Ping timeout: 268 seconds)]
orbekk1 has joined #nixos
jsgrant has quit [(Ping timeout: 240 seconds)]
orbekk has joined #nixos
_c_ has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
elvishjerricco has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
elvishjerricco has joined #nixos
elvishjerricco has quit [(Client Quit)]
elvishjerricco has joined #nixos
Wizek has joined #nixos
marsel has quit [(Ping timeout: 276 seconds)]
Wizek_ has joined #nixos
elvishjerricco has quit [(Client Quit)]
elvishjerricco has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
katyucha_ has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
peti has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner closed pull request #27122: jd-gui: Fix interpreter, add many missing deps, un-upx. (master...fix/jd-gui) https://git.io/vQgrk
NixOS_GitHub has left #nixos []
nick_h has joined #nixos
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
hellrazo1 has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQ2tg
<NixOS_GitHub> nixpkgs/master 5328aac Vladimír Čunát: Merge branch 'staging'...
NixOS_GitHub has left #nixos []
Wizek has joined #nixos
Wizek_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vQ2tX
<NixOS_GitHub> nixpkgs/staging 495a022 Will Dietz: llvmPackages_4: 4.0.0 -> 4.0.1
<NixOS_GitHub> nixpkgs/staging f171b95 Vladimír Čunát: Merge #26905: llvmPackages_4: 4.0.0 -> 4.0.1
NixOS_GitHub has left #nixos []
johnramsden has quit [(Quit: Leaving)]
<jluttine> hmm.. i have nixos on my print server and on my laptop. trying to print from my laptop but i get an error "Backend returned status 2 (authentication required). Job held for authentication." any ideas how i should change my server configuration?
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<jluttine> i have browsing=true and listenAddresses=["*:631"]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c2e3f7b687 (from 21 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #27137: [wip] docker: 17.03.2-ce -> 17.06.0-ce (master...update-docker-1706) https://git.io/vQ2qf
NixOS_GitHub has left #nixos []
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<manveru> joepie91: i'm writing one too :D
indi_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vQ2qc
<NixOS_GitHub> nixpkgs/staging febadbc Vladimír Čunát: gnutls: bugfix 3.5.13 -> 3.5.14
NixOS_GitHub has left #nixos []
endformationage has quit [(Quit: WeeChat 1.7)]
marsel has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 246 seconds)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bzizou opened pull request #27138: gildas: init at feb17d (master...gildas-pr) https://git.io/vQ2qw
NixOS_GitHub has left #nixos []
thc202 has joined #nixos
sary has quit [(Read error: Connection reset by peer)]
ertes-w has joined #nixos
fab has joined #nixos
fab is now known as Guest88414
faffolter has quit [(Ping timeout: 246 seconds)]
sigmundv_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vQ2mc
<NixOS_GitHub> nixpkgs/staging 111b5eb Aneesh Agrawal: groff: Add site.tmac to fix man page coloring...
<NixOS_GitHub> nixpkgs/staging 7b7eb57 Vladimír Čunát: Merge #27061: groff: fix man page coloring
<NixOS_GitHub> nixpkgs/staging 1db1ba9 Vladimír Čunát: groff: (nitpick) quote shell variables
NixOS_GitHub has left #nixos []
arjen-jonathan has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
mudri has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 4 new commits to staging: https://git.io/vQ2Yo
<NixOS_GitHub> nixpkgs/staging 535a6c3 Volth: fetchFromGitHub: fix fetchSubmodules=true when revision is not hexadecimal
<NixOS_GitHub> nixpkgs/staging b935b21 Volth: fix regressions where "${repo}-${rev}-scr" pattern was hardcoded
<NixOS_GitHub> nixpkgs/staging 7205dfa Vladimír Čunát: Merge #26877: fetchFromGitHub: fix fetchSubmodules...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Ping timeout: 258 seconds)]
ris has joined #nixos
FRidh has joined #nixos
magnetophon has quit [(Read error: Connection reset by peer)]
<Isorkin> Help. How to build package perl 5.10.1 ?
sary has joined #nixos
pietranera has joined #nixos
k0001 has joined #nixos
<Gravious> Isorkin, 5.10? that's ancient isn't it?
<Isorkin> yes, need to directslave-2.1-beta
<Gravious> ah
johann__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #27140: gnugrep: 3.0 -> 3.1 (staging...update_gnugrep) https://git.io/vQ2ch
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 248 seconds)]
ebzzry has quit [(Ping timeout: 255 seconds)]
<jophish> Is it possible to examine the time taken for a deivation to build?
indi_ has joined #nixos
phinxy has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
magnetophon has joined #nixos
<magnetophon> I have HW that doesn't detect the right screen resolution. I used to be able to work around that with "xrandr newmode/addmode/output", but after an upgrade from 17.03 to unstable the image is missing the right half and it's too high up the screen, IOW the bottom and the right of my screen are black.
<magnetophon> any ideas?
ebzzry has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
magnetophon1 has joined #nixos
johann__ has quit [(Quit: Leaving.)]
pie__ has quit [(Ping timeout: 255 seconds)]
<qknight> https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides <- does not explain how to use it
freusque has joined #nixos
<qknight> so how can i override debugBuild=true in ./pkgs/applications/networking/mailreaders/thunderbird/default.nix again?
<qknight> it is so depressing to work with this stupid manual
fabian_a has joined #nixos
<qknight> and i would like to put that code into configuration.nix rather than ~/.config/nixpkgs/config.nix
<qknight> i'm sure this is possible but i don't remember how
<qknight> oh just found it somewhere
<qknight> in an configuration.nix
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
Guest88414 has quit [(Ping timeout: 255 seconds)]
<magnetophon1> I just rebooted the PC with the resolution problem, and in the 17.03 config the problem is indeed not there... Any ideas how to further troubleshoot?
mpcsh has joined #nixos
<magnetophon1> Is anyone else doing "xrandr --newmode" on every boot?
<qknight> magnetophon1: never heard of
<ikwildrpepper> copumpkin1: alive?
<magnetophon1> qknight: ok, thanks
fabian_a has quit [(Ping timeout: 240 seconds)]
johann__ has joined #nixos
tsmeets has joined #nixos
<tsmeets> Hello, is it possible to declaratively install a package (like systemPackages) but just for one spesific user on nixos?
<tsmeets> I could use 'nix-env -i' but that won't get updated together with the system.
<tsmeets> What I am trying to do is have a speperate user for browsing the web, and create wrappers that use 'sudo -u browser' for the current user.
<tsmeets> I could use containers, but that would be a little overkill. I think.
<Eisfreak7> tsmeets: Alternatively there's NixUP (https://github.com/NixOS/nixpkgs/pull/9250) but that doesn't seem to be going anywhere :(
<Eisfreak7> And as an external solution nix-home (https://github.com/sheenobu/nix-home)
indi_ has joined #nixos
johann__ has quit [(Quit: Leaving.)]
Svarog has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
<tsmeets> tv: ah nice, thanks
<Svarog> has nixos 17.03 switched to kernel 4.12? and is anyone else unable to update 17.03 with an error saying unused option PSS_MIXER while configuring the kernel?
<tsmeets> tv: that was exactly what i need
<gchristensen> Svarog: afaik it has not
<Svarog> hmm
<Svarog> ah
<Svarog> had linux_latest listed under system.extraDependencies
<Svarog> and it appears to be broken currently
<Svarog> commenting it out makes everything work again
elninja44 has quit [(Remote host closed the connection)]
freusque has quit [(Ping timeout: 240 seconds)]
fnlkj has joined #nixos
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
koserge has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/vQ2g9
<NixOS_GitHub> nixpkgs/release-17.03 cbfb35a Rob Vermaas: Fix hologram server with go versions > 1.4, no fix yet upstream.
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/vQ2g7
<NixOS_GitHub> nixpkgs/master 730a394 Rob Vermaas: Fix hologram server with go versions > 1.4, no fix yet upstream....
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<ij> Can I use nix-shell to request dependencies that differ from the ones in $PATH, even if I'm not making a derivation?
<srhb> ij: Like with -p ?
<ij> Cool! \o/
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<dalaing> if nixops was going to have some changes to the way state files were stored, what would folks prefer: dumping the state info to a json file, storing the info in a proper db, or having the option to do either?
<dalaing> been thinking about how to make nixops easier to use in teams
<ikwildrpepper> dalaing: there is a PR already that will allow you to choose your store
<ikwildrpepper> once 1.5.1 is released we'll merge that
<ij> Do the one-click installs all have its dependencies baked in? I've been trying to download one to test it, but the five ones I tried clicking on in hydra were 404.
<srhb> That's awesome news! :)
<dalaing> ikwildrpepper: Sweet!
pie__ has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
ixxie has joined #nixos
<dalaing> do you have a link to that PR anywhere?
<dalaing> my google / github skills are failing me
chominist[m] has joined #nixos
tsmeets has quit [(Quit: leaving)]
<ikwildrpepper> dalaing: Moretea is working and interested in this feature, so he'll know specifics about the plans for it
<dalaing> wow, that looks great
<LnL> ikwildrpepper: do you know what happened to the new macs?
<ikwildrpepper> LnL: will check
<LnL> thanks
<dalaing> man, doing something with the NixOps statefile and doing something for managing per-user config in NixOS were on the top of my list for things to do to get my hands dirty / dirtier with Nix contributions
<dalaing> I think a type system was also in that list :)
<dalaing> all these good things coming down the line
johann__ has joined #nixos
<ixxie> hmmm, how does one exit the nix-shell xD
<ij> exit or control-d, like any other shell?
<ixxie> thanks ij
* ixxie mumbles the mantra to himself: there are no stupid questions, there are no stupid questions.....
<unlmtd> are there some ppl using dwm here who configured it on nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nonsequitur opened pull request #27141: Release notes: Fix syntax in code sample (master...patch-1) https://git.io/vQ2oC
NixOS_GitHub has left #nixos []
<ixxie> is there a convenience function for finding the nix store address of a given program?
<Gravious> nix-store -q ? maybe
orivej has joined #nixos
arjen-jonathan has quit [(Ping timeout: 276 seconds)]
seppellll has joined #nixos
__Sander__ has joined #nixos
MercurialAlchemi has joined #nixos
<ixxie> Gravious, if thats it I am not sure how to use it
mkoenig has joined #nixos
<ixxie> something like nix-store -q bash (or "bash") doesn't work
<srhb> ixxie: readlink -f (
<srhb> $(which bash) ?
<srhb> ixxie: iow follow the symlink :)
<Gravious> ixxie, i thought nix-store -q $(which bash) ?
<ixxie> readlink works but nix-store -q $(which bash) yields error: reading from file: Is a directory
<ixxie> thanks to you both ^^
<qknight> puffnfresh: hey
<qknight> puffnfresh: i'm trying to get your hyperkit builder to work ATM
ilyaigpetrov has joined #nixos
<ij> manveru, Hi. You told me about direnv once. What do you put in it for ruby?
johann__ has quit [(Quit: Leaving.)]
<manveru> you can use it like `use ruby 2.4.1`
nick_h has quit [(Ping timeout: 260 seconds)]
<manveru> i don't use it that way, since i use nix instead, but i think it should still work
<qknight> puffnfresh: i've created a script from the output with the NIX_BUILD_HOOK and chown -r "$USER" stuff and now i try nixops deploy -d test and it still prints the error with: a 'x86_64-linux' is required to build '....', but I am a 'x86_64-darwin'
<manveru> ij: oh, i read that wrong
<manveru> ij: it's more like `use rbenv` or `use rvm`
iyzsong has joined #nixos
simukis has joined #nixos
xadi has joined #nixos
Gravious has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #27142: networkd: Allow new MulticastDNS setting (master...resolved-multicastdns-support) https://git.io/vQ2PF
NixOS_GitHub has left #nixos []
<LnL> manveru: do you have any experience with building multi layer images?
<manveru> LnL: yeah
johann__ has joined #nixos
marantz has joined #nixos
marantz has left #nixos []
<LnL> can you used mkPureLayer directly, using buildImage is kind of akward
<puffnfresh> qknight: let pkgs = forceSystem "x86_64-linux" "x86_64"; in ...
<puffnfresh> you have to ensure that the derivations are for x86_64-linux
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #27143: networkmanager service: use resolved if enabled (master...networkmanager-support-resolved) https://git.io/vQ2Xm
NixOS_GitHub has left #nixos []
<manveru> LnL: well, you can, it's faster and nicer, but you can't do much in pure layers
<manveru> afaicr you can't inherit from images in pure, nor can you have runAsRoot
<gchristensen> is there a builtin tool that imports a file and preserves its name? ie: ${./my.file} -> /nix/store/hash-my.file, but I want /nix/store/hash-my.file/my.file
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #27144: resolved: use resolved's static resolv.conf (master...resolvconf-resolved-static) https://git.io/vQ2Xz
NixOS_GitHub has left #nixos []
<gchristensen> an alternative to that would be a way to strip the hash portion from the name so I can cp ${strippedHash ./my.file} ./ # results in ./my.file
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5328aac7be (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<LnL> don't think something like that exists
<gchristensen> that is okay, trivial to make
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] expipiplus1 opened pull request #27145: git-fame: Init at 2017-01-14 (master...git-fame) https://git.io/vQ21l
NixOS_GitHub has left #nixos []
<puffnfresh> gchristensen: stripHash
<gchristensen> :o :o :o thank you!
<gchristensen> I almost guessed it, I could have almost searched for it
<puffnfresh> should probably be a Nix function instead of Bash
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
johann__ has quit [(Quit: Leaving.)]
copumpkin has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
nh2 has joined #nixos
eacameron has joined #nixos
johann__ has joined #nixos
sary has quit [(Quit: Lost terminal)]
eacameron has quit [(Ping timeout: 240 seconds)]
<ij> manveru, Uhm, you don't use nix instead of rbenv/rvm?
sary has joined #nixos
eacameron has joined #nixos
mudri has joined #nixos
arjen-jonathan has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Ping timeout: 276 seconds)]
arjen-jonathan has quit [(Quit: WeeChat 1.8)]
arjen-jonathan has joined #nixos
nick_h has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<chominist[m]> Hi all, is there a way to search for package options? Like a manpage
orivej has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<hodapp> https://github.com/NixOS/nixpkgs/issues/27048#issuecomment-313090873 how do I go about testing a suggestion like that? thus far my configuration.nix has never referred to my local checkout of nixpkgs
<gchristensen> hodapp: (1) run `nixos-version --hash`
<gchristensen> (2) in nixpkgs, `git checkout <that hash>`
<gchristensen> (3) make your edits
<gchristensen> (4) `NIX_PATH=nixpkgs=/path/to/your/git/checkout/nixpkgs:nixos-config=/etc/nixos/configuration.nix nixos-rebuild switch`
mudri has quit [(Ping timeout: 248 seconds)]
indi_ has joined #nixos
<hodapp> alright, I'll give that a try
jedahu has joined #nixos
<hodapp> surprised to see only one reference to NIX_PATH in the NixOS manual
indi_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> you may find more in the nix manual or nixpkgs manual
cpennington has joined #nixos
<gchristensen> some people say they wish the manuals were split up more, I wish the manuals were _combined_ -- looking at nix manual showed just nix, looking at nixpkgs showed the nix manual, and looking at nixos showed the nixpkgs and nix manuals
<copumpkin1> ikwildrpepper: hologram!
<srhb> gchristensen: Clearly the solution is to abstract the notion of "manual" and be able to combine it however you see fit.
<chominist[m]> gchristensen (IRC): is there a man for options of a package?
<chominist[m]> manual*
<gchristensen> packages? no, modules? yes: man configuration.nix
<hodapp> gchristensen: I guess my natural first place to look would be the NixOS manual because it's /etc/nixos/configuration.nix that I'm trying to figure out some details of, and things pertaining to nixos-rebuild
<gchristensen> I agree
<gchristensen> imo the nixpkgs docs are pretty well inextricable when using nixos
jedahu has quit [(Client Quit)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
<hodapp> though, of course, my use case is a bit of an uncommon one
<hodapp> is configuration.nix the only place I can define a service thus?
<gchristensen> how is it uncommon?
<hodapp> how often must a user be able to apply a patched version of nixpkgs to nixos-rebuild and the like?
<gchristensen> no idea :) I do it from time to time
<gchristensen> I know many people always operate like this
<roblabla> I often have a patched version of nixpkgs while waiting for my PRs to get merged
<roblabla> I'm pretty sure a lot of people using nixos are also occasional contributor (adding a missing option, a new package, etc...) which would cause them to occasionally have a patched nixpkgs
wak-work has quit [(Ping timeout: 276 seconds)]
bkchr has joined #nixos
<disasm> hodapp: for testing patches, I'm more likely to use nixos-rebuild build-vm -I nixpkgs=/home/sam/nixpkgs -I nixos-config=./configuration.nix
<bkchr> Hi, does anyone know what I need to do, do make a dbus service visible for dbus?
<hodapp> oh, true, I could do that too
<qknight> does nixops have rollback?
<ikwildrpepper> copumpkin1: hehe, yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #27141: Release notes: Fix syntax in code sample (master...patch-1) https://git.io/vQ2oC
NixOS_GitHub has left #nixos []
sary has quit [(Ping timeout: 255 seconds)]
<ikwildrpepper> qknight: only if you explicitly enable it, and only for the nixos config, not for the infrastructure
sary has joined #nixos
<qknight> ikwildrpepper: ok
<Eisfreak7> Is there something special I have to do when updating to a newer NixOs version?
<Eisfreak7> I'm trying to switch an old vm from 16.03 to unstable
<Eisfreak7> But rebuilding doesn't work (error parsing derivation ...stdenv.drv: expected string 'Derive([')
<qknight> can anyone here support me with a mac os x build host problem? i want to be able to use nixops to deploy to x86_64-linux and the arch is x86_64-darwin so i need a working build-host compiler setup
<qknight> but i can't get that working properly
wak-work has joined #nixos
<qknight> Eisfreak7: the best advice is to always stay close to the current actively maintained release
<LnL> qknight: what's the problem?
<qknight> LnL: i can't get it to work
<qknight> LnL: it tells me that target is -linux and this is -darwin
<qknight> and if i apply the 3 environment variables to make it use an external host via ssh it will always error out with stuff i don't understand to track down
pie__ has quit [(Ping timeout: 276 seconds)]
Ivanych has joined #nixos
<qknight> LnL: like: unexpected end of file or similar
<qknight> LnL: that said, i never managed to use an external builder
<qknight> LnL: and i don't find much useful documentation about it
hellrazo1 has quit [(Ping timeout: 255 seconds)]
<manveru> qknight: LnL actually made a docker container for that
<chominist[m]> Is there a way to search nixos options from nixos itself?
<manveru> chominist[m]: nixos-option
<qknight> chominist[m]: no
<qknight> chominist[m]: not search in options search at least
<chominist[m]> manveru (IRC): thanks
<qknight> chominist[m]: but you can see the generated documentation
<manveru> well, you can browse them
<manveru> it's not super nice, but hey :)
<manveru> otherwise there's https://nixos.org/nixos/options.html
<chominist[m]> manveru (IRC): right
<manveru> but that might not reflect your current nixos version
<qknight> chominist[m]: but you can use nix-repl with interactive completion
<Eisfreak7> qknight: I can't even upgrade from 16.03 to 16.09, that can't be right
<chominist[m]> qknight (IRC): sweet
<qknight> Eisfreak7: in case you have a rescue shell you might consider to just make a 'new installation' into your current nixos system
Rotaerk has quit [(Quit: Leaving)]
<chominist[m]> Are there things I should read beyond nix manual, or should I just play around with the os
<qknight> LnL: oh yeah a docker image but it is not documented well
<qknight> LnL: when did you test it last? 23feb?
orivej has quit [(Ping timeout: 268 seconds)]
<qknight> probably all broken, right?
<LnL> huh?
<LnL> it should work
pie__ has joined #nixos
<disasm> Eisfreak7: does a rebuild switch work without switching channels?
<Eisfreak7> disasm: When I set the channel back to 16.03 it works
<qknight> LnL: oh, that is actually documented pretty well. just didn't see the README.md
<qknight> LnL: will try it!
<manveru> :)
Ivanych has quit [(Ping timeout: 255 seconds)]
<Eisfreak7> disasm: 16.09 gives "error parsing derivation '...pcre-8.40...: expected string `Derive([`" a few times
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #27147: mergerfs: 2.22.1 -> 2.23.0 (master...update-mergerfs) https://git.io/vQ2xO
NixOS_GitHub has left #nixos []
<qknight> LnL: how to install docker on mac os x?
stranger__ has quit [(Quit: Connection closed for inactivity)]
<qknight> disasm: ah, following the official documentation. thanks!
<disasm> qknight: that runs it in an xhyve container that's pretty close to transparent to the user.
<qknight> disasm: stable?
<disasm> qknight: I probably would
<disasm> I ditched osx a few months ago for nixos, so I haven't used it in a while.
dbrock has joined #nixos
indi_ has joined #nixos
Isorkin has quit [(Ping timeout: 255 seconds)]
pie__ has quit [(Ping timeout: 246 seconds)]
ebzzry has quit [(Ping timeout: 255 seconds)]
ebzzry has joined #nixos
Itkovian_ has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
<qknight> LnL: the https://github.com/LnL7/nix-docker#building-an-image section implies i have to do something?!
<manveru> qknight: you don't have to
Itkovian_ has quit [(Client Quit)]
Itkovian has quit [(Ping timeout: 248 seconds)]
<manveru> it does all described in https://github.com/LnL7/nix-docker#running-as-a-remote-builder for you
earldouglas has joined #nixos
lambdamu has joined #nixos
spinus has joined #nixos
nick_h has quit [(Ping timeout: 260 seconds)]
Isorkin has joined #nixos
<disasm> Eisfreak7: do you have physical access to the host?
<qknight> LnL: hm. i've played with your commands now i can't just start that script because there is something named similar...
<disasm> Eisfreak7: also do you have a different 17.03 or unstable host you could test the configuration against?
<Eisfreak7> disasm: Yes I have physical access but no I don't have a different host (the vm is basically my nix playground)
erasmas has joined #nixos
<disasm> Eisfreak7: so I'd boot off a 17.03 image, mount your filesystem under /mnt and run nixos-install --no-root-passwd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to staging: https://git.io/vQ2j5
<NixOS_GitHub> nixpkgs/staging c23dcd7 Eelco Dolstra: Enable some more debug info
NixOS_GitHub has left #nixos []
<Eisfreak7> disasm: Thats my last resort, but I'd prefer to actually understand and fix the problem
<Eisfreak7> disasm: I'm currently "bisecting" my config
<disasm> Eisfreak7: how big is the configuration.nix file? and do you have any sensitive data in it?
nslqqq has quit [(Ping timeout: 240 seconds)]
<Eisfreak7> disasm: The problem still exists with an basically empty configuration.nix
<qknight> LnL: the manual instructs to do a 'mkdir -p /etc/nix' but for that one requires sudo
<qknight> LnL: are all commands expected to be run as root?
Svarog has quit [(Quit: Ex-Chat)]
<LnL> you don't have to put the files there if you don't want to
<qknight> LnL: i want to follow the manual
<qknight> LnL: deriving from the manual usually lead me into error
<disasm> Eisfreak7: can you gist nixos-rebuild switch --upgrade --show-trace
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dbrock opened pull request #27149: go-ethereum: 1.4.7 -> 1.6.6 (master...go-ethereum) https://git.io/vQavr
NixOS_GitHub has left #nixos []
<LnL> qknight: it's a good point, I could change it to put the files somewhere in home or tmp
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dbrock opened pull request #27150: solc: 0.4.11 -> 0.4.12 (master...solc) https://git.io/vQavS
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dbrock opened pull request #27151: seth: 0.5.1 -> 0.5.6 (master...seth) https://git.io/vQav5
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
nh2 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] phile314-fh opened pull request #27152: PostGIS/GDAL/hdf4: Make unfree szip dependency optional. (master...szip-optional) https://git.io/vQafD
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
<disasm> Eisfreak7: I'm assuming this showed up when you bisected your config, right? ou must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
<Eisfreak7> disasm: Yes, this is because the config is empty (besides the hardware configuration). The important part is the error before that.
<Eisfreak7> disasm: That error also shows up when I `nix-env -iA <some-package>`
<disasm> Eisfreak7: this is the closest I've come to finding a similar problem: https://github.com/NixOS/nixpkgs/issues/12659
nslqqq has joined #nixos
<disasm> Eisfreak7: I'd say maybe try nix-store --delete /nix/store/3is253sa1kj5bll2crrz43bh7n319h4p-pcre-8.40.tar.bz2.drv but I don't know what ramifications that may have.
johann__ has joined #nixos
<ij> Can I see all the files a package provides somehow?
Itkovian has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
johann__ has quit [(Ping timeout: 240 seconds)]
<qknight> LnL: i don't get it. should i run the docker container as normal user or as root on mac os x?
<disasm> qknight: normal user
ison111 has quit [(Quit: WeeChat 1.7.1)]
ennui has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
<Eisfreak7> disasm: I had to delete two packages (with --ignore-liveness) and now it works. Apparently the packages were corrupted somehow? Weired.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizeman opened pull request #27153: atop: don't chmod u+s, otherwise Nix build fails (master...u/fix-atop) https://git.io/vQaU2
NixOS_GitHub has left #nixos []
<Eisfreak7> disasm: (Mabye it's a bit early to say "it works", but its currently building)
mudri has quit [(Ping timeout: 260 seconds)]
<ennui> The stdenv of newer Nixpkgs versions fails to set the CFLAGS/LDFLAGS for the package 'libav'. See here for a reproducible demo: https://www.pastiebin.com/595cfdc3ec84d. What am I doing wong?
seppellll has quit [(Quit: Leaving)]
<disasm> ij: I could be wrong, but I don't think you can without installing the package. A package is just a recipe for how to install something, so it doesn't contain a file list of what's installed. Once it's installed though, you could do a find /nix/store/<hash>-<package>.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ck3d opened pull request #27154: NixOS snapper integration (master...nixos-snapper) https://git.io/vQaUF
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
<ennui> I spent a few hours debugging this issue, but I'm left completely clueless. It must be a user error, since libav is widely used.
mudri has joined #nixos
iyzsong has quit [(Quit: bye.)]
nh2 has joined #nixos
justelex_ has joined #nixos
mudri has quit [(Ping timeout: 268 seconds)]
indi_ has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
pie_ has joined #nixos
indi_ has quit [(Ping timeout: 276 seconds)]
johann__ has joined #nixos
ryanartecona has joined #nixos
<qknight> disasm: i'm getting: warning: the group 'nixbld' specified in 'build=users-group' does not exist
bkchr has quit [(Ping timeout: 240 seconds)]
<disasm> qknight: this is in a docker nixos container?
<disasm> Eisfreak7: build successful?
nh2 has quit [(Read error: Connection reset by peer)]
<qknight> disasm: yes!
<Eisfreak7> disasm: Yes! Just finished. Now I'll try to get from 16.09 to unstable, but hopefully that'll be less of a problem.
pxc1 has joined #nixos
<Eisfreak7> disasm: The problem was probably caused by the vm crashing during an update. But shouldn't nix's atomic updates prevent just that?
<qknight> Eisfreak7: crashing during an update is not covered by nixos purity
<qknight> Eisfreak7: since we are talking about simple linux tools which just leave state if crashed
johann__ has quit [(Quit: Leaving.)]
<Eisfreak7> Okay I had to remove a few more store packages, but now the unstable build is running.
<Eisfreak7> qknight: But aren't new packages "installed" in a tmp dir and then atomically copied/linked where they belong?
<disasm> qknight: hmmm, I ran lnl7/nix:ssh and ran cat /etc/group and it exists: nixbld:x:30000:nixbld1,nixbld2,nixbld3,nixbld4
<gchristensen> "# If you need to apply patches, make sure to set `dontBuild = false`;" ... "things that should be an assert" for $500 please
<qknight> disasm: i can't see nixbld only nixbld1 to 4
<disasm> qknight: nixbld is the group, not the user
<Eisfreak7> Anyway, thanks for the help disasm
<disasm> Eisfreak7: if it crashes while doing the copy parts, you could end up with broken stuff in the store.
<Eisfreak7> Btw. (not nix specific, but I just came to the idea thinking about nix user-installs): Can't malicious software easily excalate its privileges by modifying PATH and wrapping some software that is commonly run with sudo?
<qknight> Eisfreak7: what nix is better at, compared to other linux distributions, it reduced the time a crash can seriously cripple a system during updates
<Eisfreak7> disasm: That makes sense, but its weired that so many packages (>5) broke
<qknight> Eisfreak7: no
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vQamk
<NixOS_GitHub> nixpkgs/master 4e02543 Ricardo M. Correia: atop: don't chmod u+s, otherwise Nix build fails
<NixOS_GitHub> nixpkgs/master 4925005 Vladimír Čunát: Merge #27153: atop: don't chmod u+s
NixOS_GitHub has left #nixos []
<Eisfreak7> qknight: Why not?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #27155: gitlab-runner_1_11: 1.11.4 -> 1.11.5 (master...gitlab-runner-1.11.5) https://git.io/vQam3
NixOS_GitHub has left #nixos []
<qknight> Eisfreak7: because you can't change the path of a different user that is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #27153: atop: don't chmod u+s, otherwise Nix build fails (master...u/fix-atop) https://git.io/vQaU2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vQaml
<NixOS_GitHub> nixpkgs/release-17.03 9622ce1 Vladimír Čunát: Merge #27153: atop: don't chmod u+s...
NixOS_GitHub has left #nixos []
digitus has joined #nixos
<Eisfreak7> qknight: But doesn't sudo <program> look for a program in *my* path? And if that doesn't work, one could just wrap sudo itself.
<qknight> Eisfreak7: try it
nh2 has joined #nixos
<Eisfreak7> echo 'echo test' >> sudo; chmod +x sudo; PATH=.; sudo
<Eisfreak7> qknight: That executes my sudo wrapper
orivej has joined #nixos
<Dezgeg> but it didn't run as root
<qknight> disasm: maybe this setup just won't work with nixops for some reason
elehack has joined #nixos
<Eisfreak7> No, but that wrapper could then behave exactly as sudo does: Ask for a password. Then it forwards to the real sudo.
<qknight> disasm: i see that it uses the build host for everything correctly except for the: /nix/store/somehash-nixops-machines.drv
endformationage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQaYn
<NixOS_GitHub> nixpkgs/master 322582d Vladimír Čunát: libav: maintenance 11.9 -> 11.10
NixOS_GitHub has left #nixos []
<disasm> Eisfreak7: on a system where I'm not the only user, I always run sudo with full paths. e.g. sudo /run/current-system/sw/bin/nvim
<disasm> Eisfreak7: or if you want to be really paranoid, /run/wrappers/bin/sudo /run/current-system/sw/bin/nvim
<Eisfreak7> disasm: That's a good precaution. But in principle, there's nothing preventing maleware running under my (not privileged) user to wrap any other software, right?
jmeredith has joined #nixos
<Eisfreak7> disasm: Even with that precaution, my shell could have been replaced. Every time I start thinking about security it seems a little bit more like a battle that can only be lost
<disasm> Eisfreak7:
<disasm> Eisfreak7: unless the shell is compromised, if you specify a / before a path, $PATH isn't consulted.
<disasm> Eisfreak7: also, on multi-user systems, don't give sudo to anyone that doesn't need it.
<Eisfreak7> disasm: Yes, my scenario was more in the lines of "security at depth". Assuming my system is already compromised, how hard would it be to get root access. Apparently not hard.
seppellll has joined #nixos
phreedom has quit [(Ping timeout: 248 seconds)]
vaibhavsagar has joined #nixos
fnlkj has quit [(Quit: ?)]
<spinus> do you know how to build haskell/cabal package with specific flags by any chance?
<ennui> The stdenv of newer Nixpkgs versions fails to set the CFLAGS/LDFLAGS for the package 'libav'. See here for a reproducible demo: https://www.pastiebin.com/595cfdc3ec84d. What am I doing wong?
<disasm> Eisfreak7: yeah, I convinced about 75% of the people in my CompSci lab in college years ago to run a bash script that used osd_cat to display things to the screen at a regular interval using their crontab. In general, users are dumb, dumb users with sudo are a liability to the system, so only give sudo to people you trust and need the access and if possible, limit the commands they can run via sudo.
<jophish> What's the procedure from cross compilation now?
<Eisfreak7> disasm: Yeah but its not just the dumb users. Its impossible to vet all software you use (most of the time its "it has many stars on github / is well-known, hopefully somebody else vetted it), so you can't ever be sure what you're executing.
<Eisfreak7> disassm: I think the best part-solution would be true sandboxing
<disasm> Eisfreak7: for example, if all they can run in /run/current-system/sw/bin/cat and /run/current-system/sw/bin/tail as sudo, even if their path is poisoned sudo will refuse to execute the poisoned binary. But this isn't a technical problem to solve, it's a user trust issue.
<jophish> I should probably wait for SonarPulse to arrive
<disasm> Eisfreak7: that's where you lean on the community to find the bugs/intentional security issues introduced. One of the benefits to open source over a closed source solution.
<jophish> for examples, this fails: nix-build . --arg crossSystem '(import ./lib).systems.examples.armv7l-hf-multiplatform' -A pkgs.hello
<Eisfreak7> How reliable are the security patches in the stable repos? Security wise, would it be better to use unstable or to use the latest stable and cherry-pick packages from unstable?
pie_ has quit [(Ping timeout: 260 seconds)]
<Eisfreak7> disasm: Yes, but I'd prefer a technical solution. Also, that mindset basically forbids running any project that has more than a few thousend LOC and is not very popoular
<disasm> if it requires sudo, I'm not going to run it unless I've vetted it or the community has as a whole :)
moet has joined #nixos
indi_ has joined #nixos
<Eisfreak7> disasm: But with my earlier point its basically irrelevant if it requires sudo or not. It could easily get sudo privileges (by wrapping sudo or logging my keys).
<Eisfreak7> disasm: Anyawy, I guess this is a little off-topic :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vQaGo
<NixOS_GitHub> nixpkgs/master a1ec03a Philipp Hausmann: hdf4: Make szip dependency optional.
<NixOS_GitHub> nixpkgs/master 958a757 Michael Raskin: Merge pull request #27152 from phile314-fh/szip-optional...
NixOS_GitHub has left #nixos []
<disasm> Eisfreak7: if an app requests my password to run, I'm going to press 2 keys, ctrl-c :)
indi_ has quit [(Ping timeout: 260 seconds)]
seppellll has quit [(Ping timeout: 276 seconds)]
mdekstrand has joined #nixos
xadi has quit [(Ping timeout: 240 seconds)]
elehack has quit [(Read error: Connection reset by peer)]
<Infinisil> Especially on NixOS
freusque has joined #nixos
marsel has quit [(Ping timeout: 248 seconds)]
<gchristensen> manveru ping?
<manveru> what's up
__Sander__ has quit [(Quit: Konversation terminated!)]
<gchristensen> manveru: a bundix update broke my bundix :( https://gist.github.com/grahamc/0d35054f2409d64a093e25aac1631bda is it assuming I'm not using the daemon?
<manveru> hmm yeah
<manveru> personally i stick to 2.0.8 of bundix ^^;
<gchristensen> oh, wat
<gchristensen> should we revert the upgrade in nixpkgs then?
<manveru> might be a good idea...
<gchristensen> surprising to hear that the project owner sticks on an older version
ertes-w has quit [(Ping timeout: 260 seconds)]
<manveru> well, the new one seems to work well for some, but not in my team
<manveru> that new download scheme just breaks if you cannot write to /nix/var
<gchristensen> yeah
<manveru> which you shouldn't really
zeus_ has joined #nixos
<gchristensen> right, this is a challenging situation. why not revert that new scheme in bundix itself?
leat has quit [(Ping timeout: 248 seconds)]
<manveru> i can try that tonight
<manveru> got some time i think
<manveru> i do complaint driven development :P
<gchristensen> ok, I'll paper over the issue for now locally :) thank you a lot for bundix
<manveru> yeah... after using bundix for quite some time now i think i know a lot of things to improve
<manveru> have to make dinner first though
cinimod has joined #nixos
<gchristensen> no worries! :)
nh2 has quit [(Read error: Connection reset by peer)]
<cinimod> I am almost entirely new to nix having been shown some very basic stuff at zurihac
phreedom has joined #nixos
<cinimod> What should I read first?
Christian[m]1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc created c31c11e from master (+0 new commits): https://git.io/vQacr
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc deleted c31c11e at 958a757: https://git.io/vQaco
NixOS_GitHub has left #nixos []
darlan has joined #nixos
<srhb> cinimod: Depends, what's your goal? Packaging, using nixpkgs, using NixOS?
<cinimod> using nixpkgs
<cinimod> Also packaging my (haskell) package
<srhb> cinimod: Nix pills are nice (but not Haskell specific) - ocharles has a wiki with useful nix things too, perhaps try to package up something simple, use cabal2nix on one of your own projects :)
<srhb> Should all be googleable.
arjen-jonathan has quit [(Ping timeout: 276 seconds)]
<cinimod> Ok I am using cabal2nix atm but in a very cookbook way
<cinimod> I will look at ocharles' stuff
<srhb> cinimod: That's how I started too. :)
<srhb> cinimod: Once more needs arose, I learned whatever I needed to move on.
<srhb> (This channel is an excellent resource)
leat has joined #nixos
pietranera has quit [(Quit: Leaving.)]
acarrico has quit [(Ping timeout: 255 seconds)]
<Infinisil> Can confirm, have learned a lot here
freusque has quit [(Ping timeout: 268 seconds)]
phreedom has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
<guillaum1> I can use NIX_LDFLAGS to add flags for the linker of a package, but is there a way to remove flags ? Example, I'm packaging a library where the makefiles try to link with static libraries, and I want to change that, if possible without manually patching the makefile.
cheshircat has quit [(Quit: WeeChat 1.7.1)]
cheshircat has joined #nixos
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
nh2 has quit [(Ping timeout: 276 seconds)]
<Unode> hi all. I'm trying to compile a static binary using nix-shell --pure. I keep getting "cannot find -lc" and "cannot find -lm". I found that these live in glibc-*-static.
<Unode> I already added glibc to the shell with -p glibc but ld still fails to find these two libs.
<Unode> Am I missing something else?
HappyEnte has quit [(Ping timeout: 260 seconds)]
cinimod has quit [(Ping timeout: 248 seconds)]
moet has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vQalm
<NixOS_GitHub> nixpkgs/master 00f0f7e Tim Steinbach: linux: 4.11.8 -> 4.11.9
<NixOS_GitHub> nixpkgs/master 05bd289 Tim Steinbach: linux: 4.9.35 -> 4.9.36
<NixOS_GitHub> nixpkgs/master a04afd1 Tim Steinbach: linux: 4.4.75 -> 4.4.76
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to release-17.03: https://git.io/vQalZ
<NixOS_GitHub> nixpkgs/release-17.03 0cc792c Tim Steinbach: linux: 4.11.8 -> 4.11.9...
<NixOS_GitHub> nixpkgs/release-17.03 c9cf9ce Tim Steinbach: linux: 4.9.35 -> 4.9.36...
<NixOS_GitHub> nixpkgs/release-17.03 29546eb Tim Steinbach: linux: 4.4.75 -> 4.4.76...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
Ivanych has joined #nixos
<clever> Unode: nixpkgs doesnt include the static versions of glibc by default
sibi has quit [(Quit: Connection closed for inactivity)]
HappyEnte has joined #nixos
<clever> Unode: you need to add glibc.static to the -p flag
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<Unode> clever: ok that helped but stumbled on another one: ncurses . And there doesn't seem to be an ncurses.static. Any clues?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vQa8y
<NixOS_GitHub> nixpkgs/master e1b29dd Franz Pletz: firmwareLinuxNonfree: 2017-04-16 -> 2017-07-05...
<NixOS_GitHub> nixpkgs/master c719890 Franz Pletz: nginxMainline: 1.13.1 -> 1.13.2
NixOS_GitHub has left #nixos []
<gchristensen> is there a way to test doing an import, and return something else if it fails?
<gchristensen> tryEval seems to not work for this
indi_ has joined #nixos
<guillaum1> Unode: from my experience, a lot of library does not comes with static version. I'm still wondering if it is a bug (and hence we should fill a bug / give a patch for them) or if there is a smarter way to bundle executable and libraries together
<Infinisil> gchristensen: You could just check if the file exists first
nh2 has quit [(Ping timeout: 260 seconds)]
<gchristensen> true
<guillaum1> Unode: I suppose that your use case is because you want to build / package on nix and deploy somewhere else. Have a look at nix-bundle.
<Infinisil> gchristensen: if builtins.pathExists ./foo then import ./foo else throw "No foo!"
k0001 has quit [(Remote host closed the connection)]
indi_ has quit [(Ping timeout: 248 seconds)]
<Infinisil> gchristensen: Oh but add a `default.nix` too
k0001 has joined #nixos
<exarkun> garbas: unittest2 bdist_wheel works okay if setuptools 7.0 is installed. I tried to tell pypi2nix to install setuptools 7.0 (I made it a buildInput for unittest2) but it seems to have ignored me.
k0001 has quit [(Remote host closed the connection)]
ris has quit [(Ping timeout: 240 seconds)]
<clever> Unode: does it have to be static?, dynamic builds just work better on nix
FRidh has quit [(Quit: Konversation terminated!)]
[0x4A6F] has joined #nixos
FRidh has joined #nixos
FRidh has quit [(Client Quit)]
arianvp2 has joined #nixos
ryanartecona has joined #nixos
nh2 has joined #nixos
danl1240 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dbrock opened pull request #27156: hsevm: init at 0.3.2 (master...hsevm) https://git.io/vQaRP
NixOS_GitHub has left #nixos []
seppellll has joined #nixos
smw has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
pop has quit [(Disconnected by services)]
eli1 has joined #nixos
ryantrinkle has joined #nixos
marsel has joined #nixos
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vQau6
<NixOS_GitHub> nixpkgs/master f9a2866 Vincent Laporte: maude: set available on all Unix platforms
<NixOS_GitHub> nixpkgs/master 18e3799 Volth: ocamlPackages.{benchmark,obuild,ptmap,rope}: init at 1.4, 0.1.8, 2.0.1, 0.5
NixOS_GitHub has left #nixos []
ennui has quit [(Ping timeout: 276 seconds)]
eacameron has joined #nixos
<johnw> peti: a feature idea: for the ghc-head expression, allow me to provide a feature branch that I'd like to use (I want to build a GHC environment to play with the upcoming support for linear-types)
pie_ has joined #nixos
<jophish> Sonarpulse: I'm not able to link a haskell executable using your android-haskell branch: https://gist.github.com/e0a4c2321dbd5bf99394e4d74548046d
<Sonarpulse> hmm
<jophish> This is with 3a5673ca452adec44ccc48a60eaf949923e1a754
<jophish> sorry for the messy file again :)
<Sonarpulse> nah no worries
<Sonarpulse> have a log?
avorobi has joined #nixos
<jophish> it's in the gist
<Sonarpulse> oh derp
<Sonarpulse> scrolled down too fast
<Sonarpulse> oh hmmmmm
dbrock has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #27125: ocamlPackages.{benchmark,obuild,ptmap,rope}: init at 1.4, 0.1.8, 2.0.… (master...haxe-4-deps) https://git.io/vQgHY
NixOS_GitHub has left #nixos []
<avorobi> Why would nix-channel --update hang on "unpacking channels..."? I have nix on RedHat.
<jophish> I've got to head home now, Sonarpulse, I'll be back online later
<Sonarpulse> jophish:
<Sonarpulse> ok
<Sonarpulse> sorry about that error
<Sonarpulse> we got it a long time ago
<jophish> unless there's a quick fix :)
<Sonarpulse> don't think so
<jophish> ok, bye then!
<Sonarpulse> we are using google's gcc and binutils for android
<Sonarpulse> and that might have worked around it
<Sonarpulse> bye!
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vQa2J
<NixOS_GitHub> nixpkgs/master 8f106ea Vincent Laporte: julia_05: disable tests on Darwin
<NixOS_GitHub> nixpkgs/master 2521af8 Vincent Laporte: obuild: remove dependency on findlib
NixOS_GitHub has left #nixos []
<jophish> I'm compiling with "STRIP_CMD=${targetStdenv.cc.binutils}/bin/${prefix}strip"
indi_ has joined #nixos
ryanartecona has joined #nixos
eacameron has quit [(Remote host closed the connection)]
exarkun has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
danl1240 has quit [(Quit: Textual IRC Client: www.textualapp.com)]
eacameron has quit [(Ping timeout: 240 seconds)]
faffolter has joined #nixos
danl1240 has joined #nixos
jsgrant has quit [(Ping timeout: 276 seconds)]
<Sonarpulse> jophish: ah maybe try disabling all stripping?
exarkun has joined #nixos
<Sonarpulse> though I thought I did that on that branch
<Sonarpulse> jophish: also, fwiw I think I know what broke master
Gravious_ has joined #nixos
globin_ has joined #nixos
hydraz has quit [(Read error: Connection reset by peer)]
globin has quit [(Ping timeout: 255 seconds)]
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
faffolter has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 240 seconds)]
sary has joined #nixos
simendsjo has joined #nixos
<jophish> Sonarpulse: cool, what was it?
<Sonarpulse> I added this configurePlatforms to the stdenv cross wrapper
<Sonarpulse> but I used it in binutils
<Sonarpulse> which is used in a previous stage
sary has quit [(Ping timeout: 248 seconds)]
<Sonarpulse> I need to make a mass-rebuild commit
<Sonarpulse> adding it to stdenv itself
<Sonarpulse> not just this adapter
freusque has joined #nixos
<jophish> ah
<jophish> Sonarpulse: stage2 is building, I'll let you know if STRIP_CMD works
nh2 has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> jophish: ok thanks!
<Sonarpulse> I'll recheck
<Sonarpulse> whether that somehow got removed from history
<Sonarpulse> *removed during rebase
eacameron has joined #nixos
sary has joined #nixos
<Gravious_> ixxie, ah you need -R
eacameron has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9622ce13d8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Gravious_> how is it possible that a shared object for a dependency cannot be found when i've clearly included the dependency and i can see the shared object exists on the correct path :/
eacameron has joined #nixos
<Gravious_> oh, i think it's cause the CPATH is set to look for things matching *.so but the shared object ends in .so.0
<Gravious_> possibly
riclima has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
nh2 has joined #nixos
<jophish> Sonarpulse: same issue with STRIP_CMD
<Sonarpulse> jophish: :(
<Sonarpulse> that's annoying
<jophish> ttps://gist.github.com/31533cc911d9e00c2fa634fdfb021506
Dennis__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #27157: Fixes bug that dbus could not find the kwallet service (master...kwallet_dbus_fix) https://git.io/vQa6T
NixOS_GitHub has left #nixos []
globin__ has joined #nixos
orivej has joined #nixos
<Sonarpulse> jophish: do you have dontStrip and dontCross string in ghc?
<Sonarpulse> you should, but just sanity check
globin_ has quit [(Ping timeout: 268 seconds)]
andreas303 has quit [(Ping timeout: 240 seconds)]
<jophish> I do
<jophish> exactly body124_ <~peabody12@c-73-75-162-187.hsd1.il.comcast.net> has joined #dronin
<jophish> 12:55 -!- droney <ade1ecac@gateway/web/cgi-irc/kiwiirc.com/ip.173.225.236.172> has joined #dronin
<jophish> 13:26 -!- yamahabest <d943e529@gateway/web/cgi-irc/kiwiirc.com/ip.217.67.229.41> has joined #dronin
<jophish> oops
sary has quit [(Ping timeout: 255 seconds)]
<Sonarpulse> jophish: oh
<jophish> exactly that rev I mentioned earlier (clearly not still in the paste buffer)
<Sonarpulse> I wonder if this is a static vs dynamic linking thing
<jophish> I get the same result without those two extra flags to ghc
<Sonarpulse> try making a statically compileed hello haskell?
<Sonarpulse> hmm same
<Sonarpulse> libghc
<jophish> Sonarpulse: same with -static https://gist.github.com/ba245221e039f64872264d54317c5087
<Sonarpulse> oh ghc-prim
globin__ is now known as globin
<Sonarpulse> jophish: sorry about that; I guess I am about to talk to angerman soon
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Sonarpulse> probably part of the call will be bumping the ghcHEAD hash
<jophish> cool beans :)
<Sonarpulse> removing the no-longer-needed hashes
<jophish> letme know what you find
<Sonarpulse> *patches
<Sonarpulse> sure
<Sonarpulse> and generally testing more combinations of things than whatever magic one it is that we do
riclima has joined #nixos
<Sonarpulse> we were doing some -static -ghc-opt-c-fpic or something
<Sonarpulse> some magic combo that might avoid stripped libraries by chance
<jophish> I wonder if it is actuallyl stripping
<jophish> the symptoms are the same I suppose
<Sonarpulse> I think strip was messing up the headers
<Sonarpulse> for some reason
koserge has quit [(Ping timeout: 240 seconds)]
sary has joined #nixos
Itkovian has joined #nixos
leat has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
mingo has joined #nixos
Dennis__ has quit [(Quit: Page closed)]
Wizek has quit [(Ping timeout: 246 seconds)]
<mingo> if one wanted to install the latest version of terraform using nix, how can one do that?
Wizek_ has quit [(Ping timeout: 240 seconds)]
<mingo> I see that the terraform package was updated to 0.9.11 here, but when trying `nix-env -i terraform` the old package is found `0.9.10`
cyraxjoe has quit [(Ping timeout: 255 seconds)]
cyraxjoe has joined #nixos
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
lambdael has quit [(Quit: WeeChat 1.7.1)]
eacameron has quit [(Ping timeout: 268 seconds)]
arjen-jonathan has joined #nixos
indi_ has joined #nixos
<edofic> is it possible to "update" a nix-channel with some pre-downloaded files on a air-gaped machine?
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<johnw> why does nix-env -q want to use a pager when the output is small?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/322582d703 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<johnw> i notice because the pager then complains that my terminal environment isn't good enough
eacameron has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
leat has joined #nixos
alx741 has joined #nixos
<LnL> it also segfaults if you don't have a pager IIRC :)
<qknight> LnL: hey. got nixops from mac os x working now but i had to mix between the toolchains, was a bit weird
<qknight> LnL: anyway, very good work!
<LnL> howso?
Itkovian has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
<Gravious_> ah, erm, stupid question how does the runtime linker know to search the nixstore for shared objects when running a program installed with nix on a non-nixos os?
jensens has joined #nixos
<edofic> Gravious_: paths to search are stored in the executable. those paths point into the nix store
simukis has quit [(Ping timeout: 260 seconds)]
<Gravious_> hrm, i think i don't understand the operation of this too well then, since ordinarily when you installed a shared library you must update ldconfig to ensure the new lib is added to the cache. what is the equivalent of that for nix installed stuff?
<Gravious_> s/update/run/
simukis has joined #nixos
<edofic> you can't update the shared objects without rebuilding the executable
nh2 has quit [(Ping timeout: 240 seconds)]
<edofic> linker uses RPATH to load the search path from the executable itself
<edofic> and does not search other locations
<Gravious_> right
<disasm> mingo: unstable trails behind master sometimes. You can do a local nixpkgs clone and run export NIX_PATH="nixpkgs=/path/to/nixpkgs"; nix-shell -p terraform
Ivanych has quit [(Ping timeout: 248 seconds)]
<Gravious_> edofic, is it not incorrect then that these libs are not absolute store paths? http://sprunge.us/JNZL
<Gravious_> that's the result of running nix@salo:~$ readelf -d /nix/store/zcn2y8lavji97g9143naa4hpqmhp7p2k-lua5.1-luascrypt-1.1.2/lib/lua/5.1/scrypt.so
DutchWolfie has quit [(Quit: Konversation terminated!)]
<Gravious_> oh yes look
<Gravious_> there is no RUNPATH set
<edofic> I tried running this for some executables and I also get a "Library runpath" entry
<edofic> yes
[0x4A6F] has quit [(Ping timeout: 255 seconds)]
<Gravious_> yes if i run it for the `hello` binary i get, http://sprunge.us/hNGE
<Gravious_> ok i guess that explains why it's not finding liblua
[0x4A6F] has joined #nixos
<disasm> Gravious_: libraries aren't ran so they don't have a RUNPATH.
[0x4A6F] has quit [(Remote host closed the connection)]
Gravious1 has joined #nixos
Gravious_ has quit [(Ping timeout: 260 seconds)]
Gravious1 is now known as Gravious_
katyucha has quit [(Killed (orwell.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
jensens has quit [(Ping timeout: 255 seconds)]
katyucha_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
ennui has joined #nixos
avorobi has left #nixos ["Killed buffer"]
<manveru> hm, found another game not working in steam :(
<manveru> "/steamrt/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /host/mnt/big/Steam/steamapps/common/Silver/silver32)"
<manveru> any ideas how to fix that?
grumble has quit [(Quit: n)]
grumble has joined #nixos
nh2 has joined #nixos
leexius has joined #nixos
<manveru> ldd says silver32 isn't a dynamic executable... but file says it's linked
neonfuz has joined #nixos
<neonfuz> Hey
<neonfuz> my friend just instaled nixos on his macbook air, and upon rebooting he can't use his trackpad
<neonfuz> he did the default x11 + plasma5
<neonfuz> the trackpad worked on the live usb
<johnw> does anyone have hdevtools working with current Nix?
<johnw> it's not locating any of my dependencies
<manveru> neonfuz: is services.xserver.synaptics.enabled = true?
exarkun has quit [(Read error: Connection reset by peer)]
koserge has joined #nixos
leexius has left #nixos ["Leaving"]
nh2 has quit [(Ping timeout: 268 seconds)]
avorobi has joined #nixos
<ennui> The stdenv of newer Nixpkgs versions fails to set the CFLAGS/LDFLAGS for the package 'libav'. See here for a reproducible demo: https://www.pastiebin.com/595cfdc3ec84d. What am I doing wong?
avorobi has left #nixos ["Killed buffer"]
alex-v has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
<Infinisil> neonfuz: manveru: i'm only using xserver.multitouch.enable = true; in my config and the Mac's touchpad works
exarkun has joined #nixos
<neonfuz> services.xserver.multitouch.enable?
sigmundv_ has quit [(Read error: Connection reset by peer)]
riclima has quit [(Ping timeout: 248 seconds)]
<mingo> disasm: thanks! I do see that it's pointing to an older sha. Do you know how to create a channel that points to a specific path? I will install it via your method as well. Thanks for your help again!
nh2 has joined #nixos
indi_ has joined #nixos
romildo has joined #nixos
romildo has quit [(Client Quit)]
romildo has joined #nixos
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
indi_ has quit [(Ping timeout: 276 seconds)]
lambdael has joined #nixos
nh2 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantrinkle pushed 5 new commits to staging: https://git.io/vQa7M
<NixOS_GitHub> nixpkgs/staging d07f30f Ryan Trinkle: cc-wrapper: improve response file parsing speed
<NixOS_GitHub> nixpkgs/staging 2bc7b4e Orivej Desh: cc-wrapper: simplify expandResponseParams parser...
<NixOS_GitHub> nixpkgs/staging aad0ebb Ryan Trinkle: cc-wrapper: expand-response-params: fix parsing of quotes that are quoted and escaped
NixOS_GitHub has left #nixos []
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vQa5N
<NixOS_GitHub> nixpkgs/master fef784d rht: zcash: reinit at 1.0.8
<NixOS_GitHub> nixpkgs/master bd53744 Michael Raskin: Merge pull request #23985 from rht/zcash...
NixOS_GitHub has left #nixos []
ixxie has quit [(Quit: Lost terminal)]
ris has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #25235: mono: init at 5.0 (master...mono5x) https://git.io/v9Y0J
NixOS_GitHub has left #nixos []
romildo has quit [(Quit: Leaving)]
nh2 has joined #nixos
kugelblitz has joined #nixos
<kugelblitz> hi
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tjikini opened pull request #27158: elvish: 0.5 -> 0.9 (master...elvish) https://git.io/vQabZ
NixOS_GitHub has left #nixos []
[0x4A6F] has joined #nixos
<Unode> clever, guillaum1 for this particular case static is what I was trying to get out. I'm simply using nix to handle dependencies. The aim is to have a binary that works in somewhat heterogeneous systems on which nix is not available.
<kugelblitz> i've noticed when installing a package by suffixing ".dev" I also get the header files. How can I put them and the according libs in my include paths? Like when I do nix-shell -p libopus.dev I want to be able to compile with gcc -libopus
<Unode> kugelblitz: nix-shell -p libopus should work.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #25724: pvgrub_image: add package (master...pvgrub-new) https://git.io/v9SAz
NixOS_GitHub has left #nixos []
Itkovian has quit [(Client Quit)]
<kugelblitz> Unode, but if i do gcc -lopus it says it can not find it. And the include via #include<opus.h> does not work either
moet has joined #nixos
civodul has joined #nixos
moet has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/29546eb4e3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<kugelblitz> is there a way i can set include paths within nix-shell?
<neonfuz> man nixos looks cool
<neonfuz> I've been running gentoo for the last couple years
<neonfuz> hesitant to switch until I have some free time though lol
<dash> neonfuz: just do it, having a computer that works isn't so important
<neonfuz> how hard is creating packages on nixos
<neonfuz> like what's the equivalent to a gentoo ebuild
<neonfuz> and I heard some things like android studio are hard to get running on nixos
tmaekawa has joined #nixos
<manveru> though i guess that example is a bit old school already :)
tmaekawa has quit [(Client Quit)]
hellrazor has joined #nixos
mingo has quit [(Ping timeout: 260 seconds)]
<Unode> kugelblitz: I'm not familiar with that particular library, but that's how I usually use nix-shell and it works for me.
<kugelblitz> Unode, so then you have the according libraries in your load path and can include their headers?
<neonfuz> wow that looks easy
<Unode> neonfuz: I'm also a gentoo user and have nixos. I have both running. Nixos mostly works but every now and then I encounter some software that expects things in specific locations and it doesn't behave well on nixos. Don't know about android studio but the android tools work fine.
<Unode> kugelblitz: usually the ./configure step finds them.
<neonfuz> alright cool, thats what I thought
<Unode> kugelblitz: if you have that kind of setup
cpennington has quit [(Remote host closed the connection)]
<Unode> neonfuz: there are ways to go about it and have it running. I haven't dedicated enough time to learn it all.
<Unode> neonfuz: there's some people here that know all about it and are usually quite helpful, so if you ask specific questions you usually get decent answers.
<kugelblitz> Unode, awh no I just wanted to do a opus example. So i created one main.c and included opus.h
<Infinisil> I've been running NixOS for a couple months now, I'm still not done configuring :D
<Unode> Infinisil: I've been running Gentoo for over 10 years. I don't think I'm done configuring either.
indi_ has joined #nixos
<Unode> but I know what you mean :)
<manveru> gchristensen: so... i guess the culprit is the fetchurl { downloadToTemp = true; }
<gchristensen> interesting
<manveru> i wonder where mkDerivation passes that attr to
nh2 has quit [(Quit: Leaving.)]
<manveru> since fetchurl just passes it to mkDerivation, but there's no trace of it later
sphalerite[m] has joined #nixos
<manveru> ah... think i found it
<manveru> so it depends on TMPDIR
indi_ has quit [(Ping timeout: 240 seconds)]
freusque has quit [(Ping timeout: 240 seconds)]
<manveru> in theory that should be /tmp... or /build inside the drv
<manveru> anyway, this thing will only work on single user nix, so i'll probably have to rip it out
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vQapA
<NixOS_GitHub> nixpkgs/master 32b2aa4 Kranium Gikos Mendoza: zabbix-cli: init at 1.6.1
<NixOS_GitHub> nixpkgs/master c089080 Michael Raskin: Merge pull request #26121 from womfoo/init/zabbix-cli-1.6.1...
NixOS_GitHub has left #nixos []
<Gravious_> hrm
<Gravious_> does nixos stdenv really not set RUNPATH by default?
ryanartecona has joined #nixos
danl1240 has joined #nixos
<sphalerite[m]> I'm pretty sure it does
<sphalerite[m]> In the cc wrapper
faffolter has quit [(Ping timeout: 260 seconds)]
<Gravious_> weird i just wrote a derivation of a really simple set of programs i wrote that depend on another shared lib and the RUNPATH isn't set. I'll poke around...
<sphalerite[m]> Do they link against it at build time?
<sphalerite[m]> Or load them dynamically using libdl? Because in that case yeah it won't get detected and you'll typically need to use patchelf to add the paths manually
<Gravious_> sphalerite[m], linked at build time yes
nh2 has joined #nixos
<cheshircat> bundix is giving errors for me when I follow the procedure in the manual, is it still the recommended way to install ruby packages?
<manveru> cheshircat: yeah, working on a fix atm
<manveru> you can use that one for now cheshircat https://www.irccloud.com/pastebin/Hw0f7rnL/bundix.nix
<sphalerite[m]> Gravious_: That is weird then. I don't really know enough about the machinery to say why that might be unfortunately
<sphalerite[m]> But usually the library paths do end up in the executable's RUNPATH
<sphalerite[m]> (Or the libraries', as the case may be)
<Gravious_> sphalerite[m], no worries, i expect i'm doing something stupid, it'll become obvious soon :)
Itkovian has joined #nixos
<sphalerite[m]> Gravious_: sharing some code/expressions would of course help us help you ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 4 new commits to master: https://git.io/vQajj
<NixOS_GitHub> nixpkgs/master a195c04 Volth: wxGTK30: 3.0.2 -> 3.0.3.1
<NixOS_GitHub> nixpkgs/master bb8759f Volth: no need to patch if old wxWebView is used
<NixOS_GitHub> nixpkgs/master a720bd4 volth: Merge branch 'master' into wxwidgets-3.0.3.1
NixOS_GitHub has left #nixos []
<Gravious_> sphalerite[m], indeed, i just want to try a couple of things first
<slabity> How do you decide whether to install something with `environment.systemPackages` or as just `nix-env -i`
<sphalerite[m]> slabity: it's a matter of personal preference. I personally manage my software declaratively but install it only for my user apart from systemwide services and keep the system config to a minimum
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vQVeB
<NixOS_GitHub> nixpkgs/master e33c7fa Peter Jones: blackmagic init at 1.6.1
<NixOS_GitHub> nixpkgs/master 8dee8d5 Michael Raskin: Merge pull request #26584 from pjones/pjones/blackmagic...
NixOS_GitHub has left #nixos []
eacameron has quit [(Quit: Leaving...)]
<sphalerite[m]> slabity: so I keep an expression which I install using nix-env -ir whenever I've modified it or updated nixpkgs
<Infinisil> sphalerite[m]: To be exact, using nix-env -i is also declaratively (I'm pretty sure)
<Infinisil> Well, it just builds an expression
<sphalerite[m]> Infinisil: sure it does, but it's hard to get that expression back in a usable form
<Infinisil> sphalerite[m]: Yeah
<Infinisil> I'd still really like a per-user configuration.nix
<sphalerite[m]> That's basically what you get with nix-env -ir...
arianvp2 has quit [(Quit: arianvp2)]
<sphalerite[m]> If you need more advanced config features use rycee's home-manager
<sphalerite[m]> But I don't (yet), and there's very little user config I don't manage with nix
mellowmaroon has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
<Infinisil> sphalerite[m]: I don't mean only packages, but also services, package configs and whatever else should be manageable on a per-user basis
<Infinisil> I'll have a look at rycee's home-manager
<sphalerite[m]> I manage my configs using nix too
<sphalerite[m]> It's a bit ad-hoc using wrappers, but it works
<Infinisil> sphalerite[m]: I've played around with something like this too, how did you do it?
koserge has quit [(Ping timeout: 248 seconds)]
<Infinisil> sphalerite[m]: And what were you *not* able to use nix for?
<jophish> Sonarpulse: Do you know what the timeframe is likely to be for getting cross ghc working again?
<Sonarpulse> jophish: it depends on what angerman says
<Sonarpulse> but
<Sonarpulse> I think even if I am still blocked on my big "make cross elegant PR"
marsel has quit [(Ping timeout: 255 seconds)]
<Sonarpulse> it would be nice to have the blocked ghc cross PR be in a beter shape
nix-gsc-io`bot has joined #nixos
<Gravious_> sphalerite[m], heh
<Gravious_> install: lib
<Gravious_> cp linkedlist.h $(DESTDIR)$(PREFIX)/include
<Gravious_> cp liblinkedlist.so $(DESTDIR)$(PREFIX)/lib
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5328aac7be (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<Gravious_> this makefile assumes those dirs already exist
<mellowmaroon> Hi, does anyone have Spacemacs with Haskell working on NixOS? I couldn't get it working yesterday
<mellowmaroon> With autocomplete, I mean
<sphalerite[m]> Infinisil: I had to manually link .nix-profile/bin/xsession to ~/.xsession and I haven't worked out a way to manage user systemd services yet, but I don't think I will. Home-manager seems like a more elegant way
<Sonarpulse> just tagged you in that
<Infinisil> sphalerite[m]: Interesting, I'll have a closer look at your dotfiles
<sphalerite[m]> What with being based on the modules system from nixos
zeus_ has quit [(Read error: Connection reset by peer)]
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
<Infinisil> sphalerite[m]: Yeah that's what I'm thinking about, there's nothing inheritently limiting modules to nixos
zeus_ has joined #nixos
<Infinisil> Well except for the fact that modules can modify arbitrary stuff in configuration.nix
<sphalerite[m]> Gravious_: oh, linking against libraries that are built in the same derivation? Yeah I think that might not be handled correctly rpath-wise
<sphalerite[m]> Infinisil: the module system != the modules ;) I don't think many, if any nixos modules can be reused as Home-manager modules
kugelblitz has quit [(Quit: Leaving)]
justbeingglad has joined #nixos
<sphalerite[m]> But the whole merging logic, the includes, the type checking and so on
<Infinisil> Ahh right
nh2 has quit [(Quit: Leaving.)]
justbeingglad has left #nixos []
hiratara has quit [(Ping timeout: 246 seconds)]
<Infinisil> sphalerite[m]: But most in nixos/modules/programs I'd think
<Infinisil> A great example is tmux.nix in that directory
<kriztw> mellowmaroon: I do, it works for me with intero
<sphalerite[m]> I don't think so. Usually if they're in the systemwide config there's a reason for taking that approach rather than just providing an override for the package itself (which would allow it to be used unprivileged and on OSX too for instance)
<sphalerite[m]> Yes, tmux is an odd case and I don't see why it has a module
<mellowmaroon> kriztw: Could you maybe pastebin your .spacemacs?
<kriztw> mellowmaroon: yeah, sec
<sphalerite[m]> Where modules are actually useful to have is for shells for instance, as the user shell setting is systemwide
<sphalerite[m]> And for programs that need setuid (sudo, firejail)
<mellowmaroon> kriztw: When I tried intero, it kept not finding run-ghc and stack
nh2 has joined #nixos
hiratara has joined #nixos
<Infinisil> sphalerite[m]: I'd just really like to be able to configure all programs with nix (and not files)
<sphalerite[m]> Yes, me too. But modules are usually not the right approach IMHO
<kriztw> mellowmaroon: well, you need to have stack installed either as a system package or in your user environment
<sphalerite[m]> Instead preferring packages which can be overridden, reason being that they're more versatile — they're more compatible across platforms, they can be used with nix-shell, etc
<mellowmaroon> kriztw: ...right. I kept using stack in a nix-shell, forgot it wasn't globally installed....thanks :)
<kriztw> most of it is standard though
<mellowmaroon> kriztw: thanks again! :D
<jophish> Sonarpulse: what's that PR?
<Sonarpulse> it is basically cherry-picks from the branch I gave you
<mellowmaroon> Does anyone know why X goes black when I run `nixos-rebuild switch --upgrade`?
<Sonarpulse> to make really nice requries https://github.com/NixOS/nixpkgs/pull/26805
romildo has joined #nixos
<Sonarpulse> but hopefully angerman and I can clean up some of it before elegant is merged
<Sonarpulse> as "elegant" is quite the undertaking
romildo has quit [(Read error: Connection reset by peer)]
<jophish> gotcha, I'll start a build with that and see if it works
<jophish> I've also started a build with STRIP_CMD in mk/build.mk instead of in configureflags
<jophish> just in case
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
<sphalerite[m]> Infinisil: sorry, didn't hl you on the past few messages. Just started using matrix on my phone and it's quite a different experience from irssi on the laptop :)
<Infinisil> sphalerite[m]: Np :) home-manager looks reallllly nice
<sphalerite[m]> Yep :)
<Infinisil> sphalerite[m]: I assume it symlinks from e.g. ~/.gitconfig to /nix/store/... ?
<sphalerite[m]> I don't fully understand how it works, but I think it's something like that yes
<sphalerite[m]> Anyway, I need to catch some sleep now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roblabla opened pull request #27159: gitlab: 8.17.6 -> 9.3.4 (master...update-gitlab) https://git.io/vQVUD
NixOS_GitHub has left #nixos []
<sphalerite[m]> Gnight!
ryanartecona has quit [(Quit: ryanartecona)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Infinisil> sphalerite[m]: See ya!
<mellowmaroon> Yep, good night sphalerite[m]!
<mellowmaroon> Is there a way I can use all of hakyll's dependencies from Nix? When I try to build a project with it using `stack build`, I run into some errors building its deps
Gravious_ has quit [(Remote host closed the connection)]
<mellowmaroon> Plus, I figure it might be better to have a lot of common dependencies installed through Nix vs stack
mudri has joined #nixos
<mellowmaroon> and I included hakyll in its stack.yaml, which is odd. I figured it wouldn't have to build anything
<dalaing> mellowmaroon: I've got hakyll running with Nix
<dalaing> Also have latex packages folded in etc....
<dalaing> Can prepare a paste when I get into work
<mellowmaroon> dalaing: Awesome :D I really appreciate it
Gravious_ has joined #nixos
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
<dalaing> Do you have a cabal file? Pretty sure I started with whatever cabal2nix gave me
<mellowmaroon> dalaing: Just the standard one from `hakyll-init project-name`
<dalaing> Yeah, that was what I had as well
<mellowmaroon> dalaing: afterwards, I ran `stack init`, which gives me stack.yaml from cabal config
<dalaing> Ah, I haven't been using stack
<dalaing> I just went straight to nix
<Infinisil> mellowmaroon: That's not very nixy though
<dalaing> Had some cabal / hakyll issues a while back, led me to try stack, that didn't work but then Nix did the trick
<mellowmaroon> Infinisil: I'm afraid I don't really know how else to do it
<Infinisil> I'd like to know how it works too as I intend to use hakyll at some point
<mellowmaroon> dalaing: cool :) I'm used to the stack workflow, so that's what I tried
hellrazor has quit [(Ping timeout: 248 seconds)]
<mellowmaroon> when I got the stack.yaml, I enabled nix and figured that was all I needed to do
hellrazo1 has joined #nixos
<Infinisil> Right now I'm just sitting here, waiting for firefox to finish compiling, having a super-slow machine while it's doing that. I'd love to set up nixos on my powerful machine that's right next to me and use it for building everything
danl1240 has joined #nixos
<mellowmaroon> dalaing: So I only need to do `hakyll-init xyz` -> `cabal2nix`, right?
<mellowmaroon> dalaing: no stack things necessary?
<mellowmaroon> Anyway, I'll try that. Maybe I can get in touch with you again later, I need to leave now.
<Sonarpulse> jophish: I assume you figured out by now
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mellowmaroon> Thanks again for the help everyone!
<Sonarpulse> but that "elegant" PR is very very broken
<Sonarpulse> *native* bintuils won't build
<Sonarpulse> for some reason
mellowmaroon has quit [(Quit: Leaving)]
phreedom has joined #nixos
<LnL> is threre a nice way to get the outPath of a drv?
<Infinisil> LnL: nix-instantiate --binding outPath <derivation path> ?
<Infinisil> Wait it's not nix-instantiate
<Infinisil> nix-store
hiratara has quit [(Quit: ZNC - http://znc.in)]
<LnL> oh!
<LnL> nix-store -q --binding out $@ is exactly what I was looking for
koserge has joined #nixos
hiratara has joined #nixos
simukis has quit [(Quit: simukis)]
<Infinisil> Ahh, I forgot a -q
<Infinisil> LnL: :)
<Infinisil> And out instead of outPath
xadi has joined #nixos
<LnL> well, looks like therre's a bug in my script
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
koserge has quit [(Ping timeout: 260 seconds)]
<Infinisil> LnL: What kind of bug?
* Gravious_ has finally established that if things are done right the RUNPATH gets patched by default >.>
indi_ has joined #nixos
jsgrant has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #27160: make-autostartitem: Use the right path for storing the desktop files (master...makeautostartitem_fix) https://git.io/vQVt8
NixOS_GitHub has left #nixos []
<LnL> that tries to find all the attributes of dependencies
ennui has quit [(Ping timeout: 255 seconds)]
justelex_ has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
<Infinisil> LnL: Hmm, alright. I don't really get what /tmp/nix-nixpkgs-cache does though
<LnL> it contains a list of all toplevel packages
<LnL> so you have lines like nixpkgs.hello /nix/store/...
<Infinisil> LnL: Ahh
<LnL> so the result is a list of attributes you can use in a nix expression
<gchristensen> clever: I did a clever thing with my netboot/pxe installer
mudri has quit [(Ping timeout: 248 seconds)]
<gchristensen> clever: it embeds a fully built version of what is going to be installed on the system, so it can work without internet. gosh I love nixos. this was trivial.
<Infinisil> LnL: You could use `mktemp -d` instead of /tmp/nix-nixpkgs-cache
<Infinisil> Oh but you want it to not run again next time, right
<LnL> it would be more correct, but slower
<Infinisil> LnL: I believe the XDG directory ~/.cache/<name> is actually thought for such things (if you wanna be really pedantic)
sigmundv_ has joined #nixos
hellrazo1 has quit [(Ping timeout: 276 seconds)]
nil has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
pie__ has quit [(Remote host closed the connection)]
nil has joined #nixos
pie_ has joined #nixos
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
danl1240 has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
Gravious_ has quit [(Remote host closed the connection)]
digitus has quit [(Quit: digitus)]
endformationage has quit [(Quit: WeeChat 1.7)]
Isorkin has quit [(Ping timeout: 260 seconds)]
danl1240 has quit [(Read error: Connection timed out)]
Zer000 has joined #nixos
<Zer000> gents I can't find the manual for nixos 15.0X - there was a section in the installation about chrooting - I want to boot a nixos livecd and chroot into my current setup
scottviteri has joined #nixos
<Zer000> I flashed a new bios and now my disk UUID's are not the same
<Drakonis[m]> a new bios
<Drakonis[m]> hmm
<Drakonis[m]> obviously not the same uuid because different bios
<Drakonis[m]> perhaps you should obtain the new uuids and regenerate your installation
<Drakonis[m]> by going to the hardware-configuration.nix file
<Drakonis[m]> but don't take my word on it
<Drakonis[m]> never dealt with this before
<Zer000> that's the plan, I need to boot the live usb, chroot, change the uuids, then do a nixos-rebuild switch
<Zer000> but I cannot figure out how to chroot properly
erasmas has quit [(Quit: leaving)]
<Zer000> ah the manual is on github, just not where I was looking
<Zer000> I hope this works though
<spinus> Zer000: nixos-install --chroot
<joepie91> I only just realized that Nix doesn't have decimals or floats
spinus has quit [(Read error: Connection reset by peer)]
<joepie91> I feel like this should have been obvious to me sooner :P
markus1199 has joined #nixos
pie_ has quit [(Ping timeout: 276 seconds)]
spinus has joined #nixos
Rotaerk has joined #nixos
markus1189 has quit [(Ping timeout: 248 seconds)]
scottviteri has left #nixos []
earldouglas has quit [(Quit: leaving)]
sviteri has joined #nixos
jsgrant has quit [(Ping timeout: 248 seconds)]
<Zer000> guys I ran nixos-install with my drive mounted as /mnt (btw the root device was just /dev/sda not a uuid) and it failed to build saying error: unused option PSS_MIXER
<Zer000> what the heck does that even mean
elninja44 has joined #nixos
lvernschrock has joined #nixos