<gchristensen>
`ARCH=x86_64` in the Makefile for efi64
<michalrus>
Hey, if I’ve got a project with a default.nix, can I somehow build it and run it in single `nix-shell` call?
<Dezgeg>
yeah that's why I was wondering
<gchristensen>
Dezgeg: I wonder if I really need syslinux, I thought grub provided similar features?
drasich has quit [(Ping timeout: 255 seconds)]
<Dezgeg>
it might indeed
<Dezgeg>
yep, looks like it...
<gchristensen>
well I removed it, now I'm waiting to be able to build /nix/store/9lblcnfpc3jr1sgagk8d5mh4wi99iis9-stage-2-init.sh.drv (nix _really_ doesn't want to build this for some reason.)
<mounty>
Sorry michalrus; I thought you had finished.
mbrgm has quit [(Ping timeout: 252 seconds)]
<mounty>
"nix-env -i -f cabal2nix.nix" outputs: "cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)"
<mounty>
Presumably I have to have cabal2nix in my development environment. I'm just beginning with nix and my understanding is low.
ryanartecona has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSKRH
<NixOS_GitHub>
nixpkgs/master 7701cbc Joachim Fasting: grsecurity: 4.9.20-201703310823 -> 4.9.21-201704091948
mbrgm has joined #nixos
ozer has joined #nixos
acarrico has joined #nixos
edvorg has joined #nixos
derjohn_mob has quit [(Ping timeout: 255 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<gchristensen>
Dezgeg: it turned out the problem was kernels just take much longer to compile on aarch64 than I remembered :/ it is going now. ... I'm going to bed. I'll ping you in the morning when I get up / see what happened :)
<gchristensen>
thank you for your hepl
takle has joined #nixos
ozer has quit [(Quit: Page closed)]
takle has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 255 seconds)]
mtetreault has joined #nixos
<mtetreault>
Hello, I am new to NixOs and I am trying to bring my computer to a working stage. I am almost done with my basic configuration but I have a hard time setting up libu2f to use my yubikey.
johnsonav has joined #nixos
derjohn_mob has joined #nixos
acarrico has quit [(Ping timeout: 255 seconds)]
<mtetreault>
I installed the libu2f-host package, but it doesn't work. I noticed that the file 70-u2f.rules is not copied over /etc/udev/rules.d/ is this normal?
jrolfs has joined #nixos
<gchristensen>
mtetreault: that is normal, I think you should add libu2f-host to services.udev.packages , like services.udev.packages = [ pkgs.libu2f-host ]; in your configuration.nix
ryanartecona has quit [(Quit: ryanartecona)]
hexagoxel has quit [(Ping timeout: 255 seconds)]
<mtetreault>
gchristensen: so everything that goes into udev should be added as services.udev.. ?
ndowens08 has quit [(Ping timeout: 255 seconds)]
nh2 has quit [(Quit: Leaving.)]
<gchristensen>
packages containing udev rules should
<gchristensen>
(assuming you want their udev rules to be applied, of course)
coltfred has quit [(Ping timeout: 255 seconds)]
nh2 has joined #nixos
proteusguy has joined #nixos
<mtetreault>
Okay, so I could install a given software without its udev rules, but if I want both I need to install the systemPackages and also the udev.packages. Is that right^
nh2 has quit [(Client Quit)]
<mtetreault>
Neat, it works :)
<gchristensen>
great :)
<gchristensen>
yeah, you'd need to add them to both places
nh2 has joined #nixos
batdog has quit [(Ping timeout: 255 seconds)]
<gchristensen>
some packages may not need to be in systemPackages to be useful, in fact, libu2f-host may not need to be, for example
hexagoxel has joined #nixos
<mtetreault>
I still need to go through the whole documentation but so far, I really love it!
<mtetreault>
It's amazing how my whole system was up in not even 2 hours :)
gbbrt_ has joined #nixos
<gchristensen>
it makes me so happy to hear that! I love NixOS, too. what computer do you have?
filterfish has quit [(Ping timeout: 255 seconds)]
<mtetreault>
I did my installation on my thinkpad w520, but I am thinking about installing it on my workstation
<mtetreault>
I usually work with yocto on embedded platform using vagrant to setup my vmboxes
<gchristensen>
nice
jrolfs has quit [(Ping timeout: 240 seconds)]
<mtetreault>
Did people looked about using nixos to kindof replace vagrant^
<gchristensen>
I'm off to sleep now, but stick around. we have a lot of people here in CEST, and a sizable group in EDT/PDT as well
<mtetreault>
I will for sure :)
<gchristensen>
I'm glad to hear you had a good experience
gbbrt has quit [(Ping timeout: 240 seconds)]
<mtetreault>
Thanks to you for your help, I'll see you around!
batdog has joined #nixos
takle has joined #nixos
<railswalker>
what's the easiest way to build a package that uses cmake?
<railswalker>
Should I just override the buildPhase to call cmake, or is there a builtin that handles cmake?
<nh2>
railswalker: there is one, as soon as I set `cmakeFlags` inside my `stdenv.mkDerivation`, it igures out to use cmake
<nh2>
maybe even without setting that (I haven't tried)
<railswalker>
nh2: then do I need to do a "mkdir build; cd build"?
<railswalker>
or will it take care of that too?
<nh2>
railswalker: no, nix will do that for you automatically, it always builds in a temporary directory
<railswalker>
ah okay
<railswalker>
awesome
filterfish has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
edvorg has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Quit: Leaving.)]
cpennington has quit [(Remote host closed the connection)]
<copumpkin>
are the installer tests b0rked right now in master?
<mtetreault>
I am trying to figure out how to install the keepasshttp plugin for keepass.
mguentner2 has quit [(Quit: WeeChat 1.7)]
mguentner has joined #nixos
stepcut has joined #nixos
<Ralith>
nh2, railswalker: I think all you need to do to make the cmake magic work is put it in buildInputs
yegods has joined #nixos
yegods has quit [(Client Quit)]
<railswalker>
Ralith: thanks
jrolfs has joined #nixos
calvertvl has joined #nixos
takle has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
sellout- has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
mtetreault has quit [(Remote host closed the connection)]
takle has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
byteflame has joined #nixos
byteflam1 has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
estewei has joined #nixos
moet has joined #nixos
byteflame has quit [(Ping timeout: 240 seconds)]
byteflam1 has quit [(Ping timeout: 255 seconds)]
phreedom has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
sellout- has joined #nixos
mguentner has quit [(Read error: Connection reset by peer)]
mguentner2 has joined #nixos
sellout-1 has quit [(Ping timeout: 245 seconds)]
sellout- has quit [(Ping timeout: 245 seconds)]
sellout- has joined #nixos
mizu_no_oto has joined #nixos
batdog has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
reinzelmann has joined #nixos
batdog has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
pdobrogost has quit [(Quit: Connection closed for inactivity)]
rardiol has quit [(Ping timeout: 245 seconds)]
systemfault has quit [(Quit: Bye!)]
hamishmack has joined #nixos
rcshm has joined #nixos
<rcshm>
hi, i am trying to use nix pkgs to install vim and vim plugins on ubuntu. is there any pointer to where to learn how to add to the plugins already available in the standard vim.nix?
<rcshm>
thks for your help.
RchrdB has quit [(Ping timeout: 255 seconds)]
Guest81707 has joined #nixos
Wizek_ has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
rcschm has joined #nixos
takle has joined #nixos
Guest81707 has quit [(Remote host closed the connection)]
proteusguy has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zeus_ has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
systemfault has joined #nixos
<mounty>
Is there any way to clear nix's caches? It seems to have mis-cached something with the consequence that I cannot now build a Haskell project via cabal2nix and nix-build.
<mounty>
It is claiming that a particular function takes only three parameters but is being passed four. The function, in both my source and all copies in /nix/store, does in fact take four parameters.
<mounty>
Simplest is to zap the cache but which bit?
<simpson>
It won't do any good unless you figure out what caused the impurity in the first place.
Guest81707 has quit [(Remote host closed the connection)]
<mounty>
Where do I start with that?
<simpson>
I have no idea what your setup looks like.
marsel has joined #nixos
Guest81707 has joined #nixos
<NixOS_GitHub>
[nixpkgs] sigma opened pull request #24789: keychain: add sigma as maintainer (master...pr/keychain-maintainer) https://git.io/vSKwN
<simpson>
My point is merely that the Nix store is extremely precise in what it caches, so you might have a build impurity.
byteflam1 has joined #nixos
byteflame has joined #nixos
<mounty>
It's just cabal2nix ; nix-build
<simpson>
I don't know what cabal2nix does, sorry.
Guest81707 has quit [(Client Quit)]
byteflam1 has quit [(Ping timeout: 240 seconds)]
byteflame has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
<mounty>
I have no idea how to proceed and no time anyway. Isn't it possible just to reset the cache entirely?
<mounty>
cabal2nix takes a cabal file and produces an equivalent nix file.
<mounty>
It is a provided nix package so I doubt it would be impure.
<simpson>
Resetting the cache entirely means removing everything in /nix/store, including things that you probably want to keep.
<mounty>
This is just too complicated. It reminds me of SCO Unix. Massive gratuitous complication for little benefit.
<mounty>
I just tried changing the source to which it was objecting, just to dirty the cache.
<simpson>
The benefits are purity and POLA. If you don't like Nix, you don't have to use it.
<mounty>
It STILL keeps up the same complaint so it's not seeing the source.
systemfault has quit [(Quit: Bye!)]
<simpson>
Perhaps it's to do with cabal2nix, then.
<mounty>
Found it, I think. And you're right. cabal builds ITS cache in a sub-dir called dist/ and cabal2nix was emulating that behaviour inasmuch as dist/build/JackRose/JackRose-tmp/*.dyn_{hi,o} (my project is called JackRose, obviously) were caching the compiler output.
<mounty>
I don't know why changing the source didn't dirty the cache but deleting all those files forced a complete recompilation.
<garbas>
steveeJ: if you have time to help, i can get you needed permissions and share what needs to be done
<garbas>
steveeJ: but thank you for the ticket. i myself sometimes forget that only things that are reported can get fixed :)
byteflam1 has quit [(Ping timeout: 252 seconds)]
byteflame has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
<vaibhavsagar>
hi, I'm trying to set up Xen on NixOS, so I set "virtualisation.enable.xen = true;" and ran `nixos-rebuild switch`, but that's failing to create the final symlink
<steveeJ>
garbas: sounds good, just let me know what the next steps are
<vaibhavsagar>
this is the error I'm getting: error: creating symlink from ‘/nix/var/nix/profiles/system-3-link.tmp-5292-1592694770’ to ‘/nix/store/lpafwz82dbm1ch9ccpb3xp2nipf4a6dc-nixos-system-nixos-17.09pre104652.08c87ee’: Permission denied
<vaibhavsagar>
has anyone encountered this before?
aminechikhaoui has joined #nixos
stepcut has joined #nixos
Filystyn has quit [(Ping timeout: 240 seconds)]
newbie90 has quit [(Quit: Bye.)]
stepcut has quit [(Ping timeout: 240 seconds)]
georges-duperon has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSK1F
<NixOS_GitHub>
nixpkgs/master 08abe4f Michael Raskin: lispPackage.iolib: list the hidden systems to make sure bundles exist
gal_bolle has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
takle has joined #nixos
layus has joined #nixos
<layus>
hi, anyone got a working davfs in nixos ?
<layus>
I am trying to get davfs working in nautilus, then I realized I could not even get it to work in command line.
mudri has joined #nixos
katyucha has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vSKMM
<NixOS_GitHub>
nixpkgs/master f12bd6e Michael Raskin: lispPackage.iolib: missed one system
pdobrogost has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/vSKMH
<NixOS_GitHub>
nixpkgs/release-17.03 7426a81 Joachim Fasting: grsecurity: 4.9.20-201703310823 -> 4.9.21-201704091948...
katyucha has joined #nixos
Itkovian has joined #nixos
<steveeJ>
how do I run the installPhase from the command line? I can't figure out the bash syntax
derjohn_mob has joined #nixos
<steveeJ>
piping it to bash doesn't do the trick
jrolfs has joined #nixos
katyucha has quit [(Ping timeout: 240 seconds)]
<steveeJ>
"isELF" is missing in the environment I'm executing it. wher is this usually defined?
jrolfs has quit [(Ping timeout: 240 seconds)]
<the-kenny>
steveeJ: just typing installPhase should work actually
<steveeJ>
the-kenny: it's not a function in this case, it's a shell variable
<the-kenny>
steveeJ: just typing installPhase should work actually
<the-kenny>
whoops sorry
<the-kenny>
steveeJ: Hm maybe it's my zsh config or so
Itkovian has quit [(Read error: Connection reset by peer)]
<steveeJ>
the-kenny: what is the output of "type isELF" for you?
<the-kenny>
let me check
<the-kenny>
"isELF is a function", jus as `configurePhase`
<the-kenny>
steveeJ: that is, inside `nix-shell`
mkoenig has joined #nixos
<steveeJ>
the-kenny: thanks
ebzzry has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
LnL has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vSKy9
<NixOS_GitHub>
nixpkgs/master ef1e28f Nikolay Amiantov: qt56.qtwebengine: patch more library paths...
<NixOS_GitHub>
nixpkgs/master f68de22 Nikolay Amiantov: wrapGAppsHook: add librvsg as a dependency...
takle_ has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 2 new commits to release-17.03: https://git.io/vSKyd
<NixOS_GitHub>
nixpkgs/release-17.03 13715a9 Nikolay Amiantov: thunderbird: don't use system Cairo...
<NixOS_GitHub>
nixpkgs/release-17.03 26ae0e1 Nikolay Amiantov: qt56.qtwebengine: patch more library paths...
jensens has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
sivteck has joined #nixos
__Sander__ has joined #nixos
LnL has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
mojjo has joined #nixos
<JayVii>
is there a particular reason release-notes are published as XML? Are those automatically generated?
<mojjo>
hi! all my manpages are gone... does anybody know how this could happen?
takle has joined #nixos
<Dezgeg>
release notes are in Docbook format which uses xml
civodul has joined #nixos
<JayVii>
Dezgeg ok, thanks
jrolfs has joined #nixos
mojjo has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
jrolfs has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] lsix pushed 3 new commits to release-17.03: https://git.io/vSK9W
<mounty>
I want as part of a hydra job-set / project to run this command in a sub-directory of a github checkout: cabal2nix ../source >default.nix
<mounty>
So I run: nix-env -i -f cabal2nix.nix
<mounty>
It outputs: cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
<mounty>
So from my understanding of nix so far, although I've installed cabal2nix in my *user* environment, it doesn't exist in the *development* environment (sandbox) that nix-env creates.
<mounty>
So how would I install cabal2nix (a nix package) in that development environment ?
takle has quit [(Ping timeout: 240 seconds)]
<steveeJ>
mounty: are you talking about the "expr" derivation?
<steveeJ>
mounty: I think it's as easy as just adding a "buildInputs = [ nativePkgs.haskellPackages.cabal2nix ];" line to your "expr"
aminechikhaoui has joined #nixos
jgertm has joined #nixos
ixxie has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vSKH0
<NixOS_GitHub>
nixpkgs/staging c30b12b Vladimír Čunát: glibc: fix i686 crashes via an upstream patch...
Itkovian has joined #nixos
roberth has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vSKQW
<NixOS_GitHub>
nixpkgs/staging e47ac55 Vladimír Čunát: glibc: apply the i686 patch only on i686...
goibhniu has joined #nixos
<mounty>
Thanks steveej; I've tried that: https://pastebin.com/VubpjEd1 but it seems not to make any difference. I've added the command + output to the paste.
ThatDocsLady has joined #nixos
<mounty>
Any suggestions ?
katyucha has joined #nixos
<mounty>
Remember I am very much a nix newbie.
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vSK7r
<NixOS_GitHub>
nixpkgs/release-17.03 451478c Vladimír Čunát: glibc: fix i686 crashes via an upstream patch...
<steveeJ>
mounty: you don't need to reference the package in the buildCommand if you have the package in builInputs. just use "cabal2nix"
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/vSK71
<NixOS_GitHub>
nix/master 9529548 Eelco Dolstra: Allow "auto" as a store URI...
<NixOS_GitHub>
nix/master 105f8ff Eelco Dolstra: Minor cleanup...
bennofs has joined #nixos
<roberth>
I'm setting up a hydra workflow, but I'm really puzzled by what's causing my release.nix top level attribute to not be available in the channel
<mounty>
I've tried that steveej but still no good. Updated https://pastebin.com/VubpjEd1 has cabal2nix.nix and command + output
<roberth>
It is a runCommand derivation and in the Hydra UI it also does not have a one-click install link
<steveeJ>
mounty: what is "source"? sorry I don't know cabal2nix and don't understand the command ;-)
takle has joined #nixos
<roberth>
So apparently there is a way Hydra decides what is relevant for the channel, but what is it? I can't find it in the docs
<steveeJ>
mounty: maybe you can debug by prepending a "set -x;" to your command
katyucha has quit [(Ping timeout: 252 seconds)]
goibhniu has quit [(Read error: Connection reset by peer)]
byteflam1 has joined #nixos
byteflame has joined #nixos
<mounty>
steveej: the crucial line appears to be: cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
<mounty>
would that indicate that I must install a package called nix-prefetch-zip or exec ?
<steveeJ>
mounty: I would hope that cabal2nix includes it's own dependencies, but it could be a bug
<mounty>
cabal2nix looks in its directory argument, finds a file with a .cabal extension, then outputs an equivalent nix expression.
<steveeJ>
mounty: looks like your buildCommand doesn't have the correct environment set up. maybe just use one of the designated buildPhases?
<steveeJ>
I also have no clue about packaging haskell :-D this seems way too complicated
cmacrae` has joined #nixos
jrolfs has joined #nixos
ThatDocsLady is now known as ThatDocsLady_brb
<mounty>
steveej: I agree with you there. I really want to use nixos/nix as 'a better way' to set up a CI server but I keep thinking Jenkins.
<cmacrae`>
Hey peeps o/ Trying to boot NixOS on an old MacBook Air. When booting in UEFI mode from USB, with or without kernel mode setting, I just get a completely black screen - any ideas how to remedy this? Perhaps some other options (maybe graphics drivers?) I can pass to the kernel to get this working?
<mounty>
What do you mean by designated buildPhases?
usoban has joined #nixos
<usoban>
hello! Just starting with nixos, love it so far ... however I've stumbled upon the following problem: on boot, I cannot see new generations anymore; the last generation it shows is 66, however sudo nix-env -p /nix/var/nix/profiles/system --list-generations shows there are 76 generations
<steveeJ>
mounty: what you are doing is to disable the phases all the way and use a single buildCommand instead. but you could use e.g. installPhase for your command
jrolfs has quit [(Ping timeout: 252 seconds)]
rcschm has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mounty>
Thanks steveej; I appreciate your help. I'll look at that in the morning. It goes further but out of time now.
Itkovian has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #24360: Shrink GCE bootstrap image to minimum size, and auto-expand it to actual size on first boot. (master...gce-image-shrink-on-master) https://git.io/vSLe3
rcschm has quit [(Ping timeout: 240 seconds)]
goibhniu has left #nixos []
goibhniu has joined #nixos
usoban_ has joined #nixos
usoban has quit [(Ping timeout: 260 seconds)]
<toppler>
Ugh. fcron hasn't been running rsnapshot for days. Lost my damn work.
gal_bolle has quit [(Read error: Connection reset by peer)]
gal_bolle has joined #nixos
eacameron has joined #nixos
teknico has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Ping timeout: 245 seconds)]
LnL has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] pstn opened pull request #24792: Added libpciaccess to steam-rt for a few games. (master...srt-libpciaccess) https://git.io/vSKpM
byteflam1 has joined #nixos
byteflame has joined #nixos
byteflam1 has quit [(Ping timeout: 245 seconds)]
byteflame has quit [(Ping timeout: 245 seconds)]
ThatDocsLady_brb is now known as ThatDocsLady
ksf has joined #nixos
LnL has joined #nixos
bennofs has quit [(Ping timeout: 260 seconds)]
CMCDragonkai has quit [(Read error: Connection reset by peer)]
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest48023
jrolfs has joined #nixos
cmacrae` has quit [(Remote host closed the connection)]
jrolfs has quit [(Ping timeout: 252 seconds)]
JagaJaga has joined #nixos
katyucha has joined #nixos
katyucha has quit [(Ping timeout: 255 seconds)]
cpennington has joined #nixos
<NixOS_GitHub>
[nixpkgs] lsix pushed 2 new commits to master: https://git.io/vS6fz
<copumpkin>
if anyone's up for a hydra puzzle, can you figure out why these darwin jobs were removed in this evaluation, when I don't think they were: http://hydra.nixos.org/eval/1348220#tabs-removed?
<domenkozar>
travis uses /tmp/ as separate partition
<steveeJ>
gchristensen: it's escaping issue, I just don't know how exactly
<gchristensen>
travis is a horrible tool for nix *grumpy*
<domenkozar>
on my travis projects I do
<domenkozar>
sudo mount -o remount,exec,size=4G,mode=755 /run/user || true
<steveeJ>
there is a file that, probably due to a bug, ends with the string " space", and it can't be installed on travis. however the nix exprection works locally
<domenkozar>
strange
<domenkozar>
so the same derivation works locally but not on travis?
<domenkozar>
that makes no sense :)
<steveeJ>
domenkozar: well, it makes sense, but we can't see it yet :-D
<domenkozar>
copumpkin: usually due to evaluation error
<domenkozar>
copumpkin: did you check those?
takle has joined #nixos
<copumpkin>
domenkozar: I know, but the evaluation errors tab (back when we had one for that eval) only included one error that made no sense for one of the expressions
<copumpkin>
domenkozar: and it evaluates fine locally
<steveeJ>
it must be one of the linux tools (bash, install, whatnot), that differ in configuration/behavior from most systems and travis
<copumpkin>
and evaluation seems like one of those things that's even less likely to vary between systems than builds
obadz has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
bkchr has joined #nixos
<domenkozar>
copumpkin:
<domenkozar>
[ielectric@guava:~/dev/nixpkgs]$ on (HEAD detached at a05959e191)
<domenkozar>
$ nix-build -A xautolock.x86_64-darwin pkgs/top-level/release.nix
<domenkozar>
error: attribute ‘x86_64-darwin’ in selection path ‘xautolock.x86_64-darwin’ not found
<domenkozar>
at least this one is gone
<domenkozar>
copumpkin: you have to use release.nix to really mimic nixpkgs eval
<copumpkin>
oh I guess I didn't try it from release.nix
<copumpkin>
yeah
<copumpkin>
because it evaluates fine from top-level
byteflame has quit [(Ping timeout: 240 seconds)]
byteflam1 has quit [(Ping timeout: 260 seconds)]
<domenkozar>
copumpkin: could be something in release.nix then
<copumpkin>
(it probably won't build, but I wanted to see why it disappeared in case it was some other bug)
<steveeJ>
gchristensen: in that case you depend on "sudo: true" for travis, which prevents caching IIRC
<copumpkin>
domenkozar: okay weird
<copumpkin>
weirder
<copumpkin>
domenkozar: why the detached head?
<copumpkin>
oh okay
<domenkozar>
copumpkin: well I just used commit for that eval
<copumpkin>
I'm getting the same behavior as hydra now
RchrdB has joined #nixos
<copumpkin>
even from top-level
<copumpkin>
not sure what was wrong before
takle has quit [(Ping timeout: 252 seconds)]
<copumpkin>
I might have been on a different revision, but I thought I double checked that
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vS6mq
<srhb>
How do I get the value of some attribute in default.nix directly from a nix tool rather than: nix-repl .; foo.attribute
<srhb>
I'm guessing nix-instantiate something
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vS6mw
<NixOS_GitHub>
nixpkgs/master b4c7979 Franz Pletz: libgit2: 0.24.6 -> 0.25.1
<NixOS_GitHub>
nixpkgs/master 4f0dd2f Franz Pletz: prometheus service: add scrapeConfigs.params option
<NixOS_GitHub>
nixpkgs/master 6049560 Franz Pletz: jenkins: 2.49 -> 2.53
jensens has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vS6mb
<NixOS_GitHub>
nixpkgs/master 205abc1 Tim Steinbach: linux: 4.11-rc5 -> 4.11-rc6
ebzzry has quit [(Ping timeout: 240 seconds)]
<railswalker>
is anyone using google drive via kio-gdrive?
bastian__ has quit [(Ping timeout: 252 seconds)]
<railswalker>
tried to package it myself, but then found I needed to package several dependencies (kcalcore, libkgapi) and I'm wondering if there's an easier way...
bastian__ has quit [(Remote host closed the connection)]
takle_ has quit [(Ping timeout: 245 seconds)]
takle has joined #nixos
<copumpkin>
niksnut: might be easier to sort out here: I'm running a real system on 1.12 and I'm seeing nix-channel barf and die on "HTTP error 200 (curl error: Failure when receiving data from the peer)" without retrying
<copumpkin>
I do see CURLE_RECV_ERROR in the list of conditions
bennofs has joined #nixos
<copumpkin>
so it seems like in theory it should retry, but whatever happened in practice here didn't actually retry
<copumpkin>
(this is going to be fun to repro)
jrolfs has joined #nixos
<niksnut>
copumpkin: and there are no previous retry warnings?
jrolfs has quit [(Ping timeout: 240 seconds)]
<copumpkin>
niksnut: not unless my logging is screwy. I'm getting this inside the amazon-init service (reconfiguring from userdata)
<copumpkin>
the only thing I saw was Apr 08 12:46:48 my-ip.ec2.internal amazon-init-start[803]: [242B blob data]
<copumpkin>
not sure what spits that out?
rcschm has joined #nixos
<NixOS_GitHub>
[hydra] domenkozar pushed 1 new commit to master: https://git.io/vS631
<NixOS_GitHub>
hydra/master 81fee45 Domen Kožar: fix #425: parsable config by hydra-queue-runner
<copumpkin>
niksnut: well, the other thing of interest might be that it prints out the usual " amazon-init-start[803]: attempting to fetch configuration from EC2 user data..." and " amazon-init-start[803]: writing channel: <url>"
<copumpkin>
but they're 9 seconds before the "[242B blob data]" message and the subsequent failure
georges-duperon has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vS6sv
railswalker has quit [(Ping timeout: 260 seconds)]
bkchr has quit [(Ping timeout: 240 seconds)]
cpennington has quit [(Remote host closed the connection)]
adfaure has joined #nixos
rardiol has joined #nixos
takle_ has joined #nixos
<copumpkin>
niksnut: oh, DownloadRequest defaults tries to 1, and I'm not sure nix-channel ever tries to change it to something else?
<copumpkin>
unless I'm missing something
bkchr has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
<adfaure>
Hello, I when I want to install rustc with nix-shell I get a different version(older) than I got by running `nix-env -iA nixos.rustc`. Can someone explain me why please ? And how I could get the newer version into a nix shell ?
Wizek_ has joined #nixos
<niksnut>
copumpkin: yeah, good catch
<copumpkin>
\o/
peterhoeg has quit [(Remote host closed the connection)]
<copumpkin>
niksnut: any thoughts on the weirder CURLE_WRITE_ERROR one I was proposing. I can't explain it, but then again I also don't really know the logic behind which errors curl spits out
<copumpkin>
?
<niksnut>
I assume it happens when curl writes something while the other side has closed the connection
peterhoeg has joined #nixos
Wizek_ has quit [(Read error: Connection reset by peer)]
bkchr has quit [(Ping timeout: 240 seconds)]
bkchr has joined #nixos
<copumpkin>
so you'd accept a PR adding that as a retry condition? I can throw one together quickly (and also changing the default retries to something >1, maybe 5?)
<niksnut>
sure
Wizek_ has joined #nixos
<copumpkin>
\o/ coming right up, thanks
kthnnlg has joined #nixos
<eacameron>
Anyone have good resources for DNSSEC? Is it important to set up?
byteflame has joined #nixos
byteflam1 has joined #nixos
<eacameron>
I already use TLS on my servers.
takle_ has quit [(Ping timeout: 252 seconds)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
<domenkozar>
copumpkin: jophish: do we know some windows / ghc / nix gurus?
<domenkozar>
we'll need to get Nix to use windows WSL to build haskell packages any day :)
<jophish>
domenkozar: I imagine that the intersection of windows gurus and nix gurus is quite narrow
afics has quit [(Quit: afics)]
<domenkozar>
well ideally someone just very familiar with packaging
stepcut has joined #nixos
<domenkozar>
not afraid of WSL
calvertvl has joined #nixos
[0x4A6F] has joined #nixos
bastian__ has quit [(Ping timeout: 252 seconds)]
bkchr has joined #nixos
afics has joined #nixos
<copumpkin>
I can't think of anyone
<domenkozar>
nix, haskell and windows
<eacameron>
domenkozar: You'd probably be best off finding someone who's at least a GHC + Win guru and then taking that knowledge and translating it to Nix somehow.
<domenkozar>
what could possibly work :)
<copumpkin>
I dunno, given that WSL is pretty linux-flavored, I'd go with a nix+linux guru who might not be as familiar with windows but learns quickly
<domenkozar>
eacameron: yeah that makes sense, since I can help with Nix part
<eacameron>
domenkozar: It might be worth pinging the ghc-devs channel. There are some GHC+Win gurus on there.
<domenkozar>
copumpkin: we will need native windows builds, so I guess we have to package GHC with native compiler on windows
<eacameron>
domenkozar: *mailing list
<domenkozar>
eacameron: thanks, will do!
hyphon81 has joined #nixos
<eacameron>
domenkozar: GHC uses MSYS on windows...so it's barely native.
<copumpkin>
didn't aszlig_ do a bunch of Nix+windows stuff a while back?
<avn>
domenkozar: btw try ask dysnix/dysnomia author, he do something with IIS from it, so possible he can know some answers you need
<domenkozar>
copumpkin: oh riight!
<eacameron>
domenkozar: What I mean is that GHC still builds with GCC, et al so on Windows you still can't statically link against the Visual Studio world.
<domenkozar>
yeah I noticed that :)
<eacameron>
domenkozar: At least as of 2 years ago that's how it was when I tried.
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vS6Ci
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 4 new commits to master: https://git.io/vS6Rm
<NixOS_GitHub>
nixpkgs/master c334daa Tuomas Tynkkynen: f2fs-tools: Cleanup a bit
<NixOS_GitHub>
nixpkgs/master 1832790 Tuomas Tynkkynen: f2fs-tools: 1.7.0 -> 1.8.0
<NixOS_GitHub>
nixpkgs/master 199be99 Tuomas Tynkkynen: dosfstools: 3.0.28 -> 4.1
<ToxicFrog>
What do I have to do to get python packages installed?
<nixy>
ToxicFrog: You mean so you can import them in an interpreter?
<ToxicFrog>
Adding, say, python27Packages.mutagen to systemPackages doesn't seem to work; I still can't run python scripts that import mutagen. It does work if I nix-shell -p python27Packages.mutagen
<ToxicFrog>
Yeah.
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vS6R8
<NixOS_GitHub>
nixpkgs/staging bd8654f Matthew Bauer: openblas: disable static libs...
<NixOS_GitHub>
nixpkgs/staging 767e459 Frederik Rietdijk: Merge pull request #22726 from matthewbauer/openblas-closure-size...
<nixy>
I am pretty sure you have to use nix-shell for that
<nixy>
I know nix-env doesn't work, but I think if you are using systemPackages there are versions of python that let you specify what packages to include
kthnnlg has quit [(Remote host closed the connection)]
<steveeJ>
domenkozar: it was dash's fault :-D
drasich has quit [(Ping timeout: 245 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
<nixy>
ToxicFrog: I think you can add python27.withPackages (p: [ p.mutagen ]) to systemPackages to get what you want
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Sonarpulse has joined #nixos
stepcut has quit [(Remote host closed the connection)]
bennofs has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
jensens has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vS6zY
<NixOS_GitHub>
nixpkgs/master 33194ec Thomas Tuegel: dropbox: 23.4.17 -> 23.4.18...
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 2 new commits to release-17.03: https://git.io/vS6zn
<NixOS_GitHub>
nixpkgs/release-17.03 a6ad5cf Thomas Tuegel: dropbox: 22.4.24 -> 23.4.17...
<NixOS_GitHub>
nixpkgs/release-17.03 69d9061 Thomas Tuegel: dropbox: 23.4.17 -> 23.4.18...
<dash>
steveeJ: :-O
bennofs has joined #nixos
sellout- has quit [(Ping timeout: 255 seconds)]
<steveeJ>
dash: ops, well, the shell :-D
<gchristensen>
nah, you can blame dash
rmrfroot has joined #nixos
stepcut has joined #nixos
rmrfroot has quit [(Remote host closed the connection)]
<domenkozar>
that's why I use bash
<avn>
ksh! ;)
<NixOS_GitHub>
[nixpkgs] nixy opened pull request #24797: pass: fix clipboard functionality for darwin (master...pass/coreutils-sb-patch) https://git.io/vS6g2
byteflame has quit [(Ping timeout: 255 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
byteflam1 has quit [(Ping timeout: 255 seconds)]
<hyper_ch>
isn't everyone using bash?
coltfred has joined #nixos
byteflame has joined #nixos
byteflam1 has joined #nixos
bastian__ has joined #nixos
bkchr has quit [(Ping timeout: 252 seconds)]
noah-nix has joined #nixos
vandelsand has joined #nixos
<vandelsand>
hey all
<gchristensen>
hello
<noah-nix>
Hi, I wonder if anyone has a solution or an idea of how to solve a problem I have with my installation of NixOS. Otherwise, I'll ask in the forums but for that I need an account, I guess.
<gchristensen>
what forums?
<vandelsand>
lol]
<noah-nix>
The problem is that I can't boot the PC after installing. I have a link which describes my issue well, although I have legacy BIOS, not UEFI as the person asking the question in the link: https://github.com/NixOS/nixpkgs/issues/19440
ryanartecona has joined #nixos
<vandelsand>
currently they're using github to report issues, and also there is a lot of nice help here
<noah-nix>
Oh, didn't know that..
<noah-nix>
Thought I had seen a forum, but that was probably for another distro then.
<domenkozar>
noah-nix: did you follow docs for installation via BIOS?
<noah-nix>
domenkozar: I did follow an instruction on a website named Maketecheasier but had the docs in another tab as reference, and I am pretty sure the steps were the same.
<noah-nix>
I did make a mistake while installing. I started the installation without configuring a network, so it had no internet access. I waited for the installation to finish, configured the network through the network manager in KDE, then I typed the command 'nixos-rebuild switch' and installed again.
<noah-nix>
By the command 'nixos-install', obviously.
<noah-nix>
I'm not sure what the command 'nixos-rebuild switch' does, but it gave me an output with a warning about me having no boot loader.
<noah-nix>
[During/after the rebuild process.]
<vandelsand>
you were in a live environment still
<vandelsand>
from how it sounds
<noah-nix>
I mounted it
<vandelsand>
i recommend you start over
<vandelsand>
format and redo
<noah-nix>
By formatting, can I type 'o' in fdisk?
<noah-nix>
or how do I format the best way?
<vandelsand>
you can use nmtui from command line if you need, for network management
<vandelsand>
i like to boot the usb, start the display, and use gparted, personnally
Filystyn has quit [(Quit: Konversation terminated!)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<noah-nix>
Okay, shall I do a quick format or a slow format? I did a slow format the other day from within my HP Bios Setup.
jrolfs has joined #nixos
cfricke has quit [(Quit: WeeChat 1.7)]
<noah-nix>
Took 96 minutes..
<goibhniu>
I don't think you need to reformat, unless you want to change your partitions
<goibhniu>
it may be better to follow the manual (I'm not familiar with the instructions on maketecheasier)
<vandelsand>
lol quick format is good enough.
<noah-nix>
Alright, goibhniu & vandelsand , I'll do so. Thank you
<noah-nix>
By the way, how is the security in NixOS?
vandelsand has quit [(Quit: Page closed)]
<disasm>
noah-nix: sounds like you're missing bootloader setup in your configuration.nix
<noah-nix>
disasm: oh, according to maketecheasier you should uncomment one option, not more, regarding the boot loader.
<noah-nix>
That is the device, in the config file.
<noah-nix>
Like 'boot-loader-device=/dev/sda1'
gal_bolle has quit [(Quit: Konversation terminated!)]
<noah-nix>
But there are more options RE the boot loader.
<disasm>
noah-nix: looking for something like boot.loader.
jrolfs has quit [(Ping timeout: 240 seconds)]
<noah-nix>
Shall I uncomment all options regarding GRUB in the config file?
Guest48023 has quit [(Ping timeout: 240 seconds)]
<disasm>
noah-nix: for example mine is boot.loader.systemd-boot.enable = true;
<disasm>
if you have an EFI system (most newer computers) I recommend systemd-boot
<noah-nix>
I have legacy BIOS, but I sure can enable UEFI. But that makes some weird partitions in my hard drive named EZ-Drive (I'm like W
<noah-nix>
Ignore that last part..
<disasm>
no idea with that EZ-drive... I just created a 1 GB vfat partition for /boot
katyucha has joined #nixos
<noah-nix>
disasm: would you recommend me to switch to UEFI? I can most likely just delete the EZ-Drives.
<goibhniu>
cool, I notice they don't mention UEFI at all and it's quite old
<toppler>
I'm using fcron, but I don't appear to have a systab, and on my server, I've got the exact same setup, but it keeps complaining that systab is not owned by root. :(
<toppler>
Can anyone help me?
<simpson>
toppler: Why not use the system cron instead?
<toppler>
simpson: I want to make sure my daily backup fires after 24 hours of uptime. As far as Iknow, only fcron does that, right?
<simpson>
toppler: I can think of several ways to fake that. Also it sounds like a very strange thing to desire *no* backups if your service is flapping.
<gchristensen>
also systemd timers are very flexible " OnBootSec= defines a timer relative to when the machine was booted up. OnStartupSec= defines a timer relative to when systemd was first started. OnUnitActiveSec= defines a timer relative to when the unit the timer is activating was last activated. OnUnitInactiveSec= defines a timer relative to when the unit the timer is activating was last deactivated."
<simpson>
Anyway, I only say this because I seem to recall that the only battle-tested timers on NixOS are systemd and (Vixie) system cron.
<toppler>
simpson: I definitely want daily backups, but I can't guarantee a time-of-day that my computer will be powered on to start them.
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vS66Y
<NixOS_GitHub>
nix/master 915f62f Eelco Dolstra: shell.nix: Remove more dependencies...
layus has quit [(Remote host closed the connection)]
<noah-nix>
goibhniu: if I do want to format, what is the best way?
<gchristensen>
what if you system isn't up for 24hrs then?
<noah-nix>
I read quick format does not delete any data.
<toppler>
gchristensen: It's up for weeks at a time, normally.
<goibhniu>
noah-nix: the best thing is to follow the manual carefully, I don't see the need to format, unless you decide to use EFI instead of BIOS (which requires an extra boot partition)
<simpson>
toppler: I have no good suggestions here, sorry. There's anacron, but anacron isn't foolproof.
byteflame has quit [(Ping timeout: 255 seconds)]
<gchristensen>
I think you want OnBootSec + OnUnitInactiveSec
<toppler>
gchristensen: But I hadn't thought about using systemd timers for this. I was using rsnapshot, which in nix, has a config option for cron entries, so I was just using that.
byteflam1 has quit [(Ping timeout: 255 seconds)]
<gchristensen>
ah
<toppler>
gchristensen: I'll look into that. Cheers for the help both.
<noah-nix>
gchristensen: nice, I'll use stable then :-)
<gchristensen>
using nix on a different distribution is a bit different
<gchristensen>
great :)
sellout- has joined #nixos
<noah-nix>
Stable sounds best for a beginner also, like me
Seichi has joined #nixos
<sphalerite>
gchristensen: for example, `perl ~ /bin/perl` would refer to /nix/store/...-perl/bin/perl. I guess that case is now covered by "${perl}/bin/perl"
<sphalerite>
I might be wrong though
<gchristensen>
huh...
<gchristensen>
${perl}/bin/perl seems way nicer :P
jasom has quit [(Ping timeout: 252 seconds)]
ryanartecona has joined #nixos
Itkovian has quit [(Remote host closed the connection)]
jgertm has quit [(Ping timeout: 255 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<noah-nix>
Are off-topic discussions allowed here, still being related to PCs?
<noah-nix>
Because I wonder if disk encryption is worth it.
Itkovian has joined #nixos
jsgrant_ has quit [(Read error: Connection reset by peer)]
<noah-nix>
And is this possible with NixOS (full-disk encryption)?
seppellll has quit [(Quit: Leaving)]
jsgrant_ has joined #nixos
ilyaigpetrov has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vS65J
<NixOS_GitHub>
nixpkgs/staging c714f82 Vladimír Čunát: libdrm: 2.4.76 -> 2.4.79
<NixOS_GitHub>
nixpkgs/staging 6d13742 Vladimír Čunát: gnutls: bugfix 3.5.10 -> 3.5.11
<niksnut>
noah-nix: yes, NixOS supports full-disk encryption with luks
georges-duperon has quit [(Ping timeout: 252 seconds)]
fresheyeball has joined #nixos
<noah-nix>
niksnut: cons & pros of that?
<noah-nix>
LUKS
<fresheyeball>
so I'm back on getting krita to work
<simpson>
noah-nix: LUKS has the standard pros and cons of FDE. It's very plain.
<fresheyeball>
I'm on nixos with xmonad and no kde or gnome
<noah-nix>
simpson: FDE? What do you mean it's plain? I'm noob to Linux so I don't understand..
acarrico has quit [(Remote host closed the connection)]
<noah-nix>
ooops
<noah-nix>
I'm stupid
fresheyeball has quit [(Client Quit)]
<noah-nix>
Ofc FDE = full disk encryption
fresheyeball has joined #nixos
hamishmack has joined #nixos
<fresheyeball>
When I run krita I get the following error
<fresheyeball>
Failed to load platform plugin "xcb".
<fresheyeball>
I took IRC advice and remove all qt stuff from my configuration.nix, and the error persists
<fresheyeball>
is there a nix package that provide libqxcb.so ?
<fresheyeball>
niksnut: thank you! Thats a good lead!
<cmacrae`>
When using 'networking.wireless.networks.<name>.psk' in configuration.nix... it seems the quotes used to wrap the value (the PSK) are actually taken and inserted into the resulting wpa_supplicant.conf, making the value an invalid length. Format should actually be: psk=abcdef12345 rather than psk="abcdef12345"
takle_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #24799: Add aggregate job for a forthcoming nixpkgs-darwin-unstable channel (master...darwin-aggregate) https://git.io/vS6dX
<niksnut>
fresheyeball: so basically, you need to install krita (and any other Qt application) via environment.systemPackages
<cmacrae`>
Any ideas? I can't unquote my PSK value, as it doesn't adhere to the nix language syntax
<cmacrae`>
But... I can't have it quoted with double quotes, because that gets interpreted as the end value to insert into wpa_supplicant.conf
<noah-nix>
Sorry for asking so many questions; but I have an HP EliteBook (business/enterprise-class laptop) and it has lots of security features (mainly for Windows though). One of them is the TPM Security Card and I have no idea what it is even after research. Can that be used for encryption? If so, how does it compare to FDE (LUKS) ?
<fresheyeball>
niksnut: so can I do that in user space?
<niksnut>
fresheyeball: no
georges-duperon has joined #nixos
acarrico has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
<simpson>
noah-nix: It probably doesn't work on Linux. You could contact HP for details.
<fresheyeball>
niksnut: ok, I added it to systempackages
<noah-nix>
simpson: I believe it's a part of the Linux kernel, actually, since I received in Ubuntu and other distro(s) a message when booting about the TPM being disabled.. Also, HP's customer service is pretty bad and they don't help me with this old PC, also it has Linux. The PC was made for Windows
fresheyeball has quit [(Quit: WeeChat 1.7)]
<simpson>
noah-nix: There is some TPM support in Linux, but nothing along the lines of FDE, AFAIK.
<noah-nix>
oh, okay
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vS6bf
<NixOS_GitHub>
nixpkgs/master 1bb8a47 Shea Levy: Add aggregate job for a forthcoming nixpkgs-darwin-unstable channel
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
derjohn_mob has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] shlevy closed pull request #24799: Add aggregate job for a forthcoming nixpkgs-darwin-unstable channel (master...darwin-aggregate) https://git.io/vS6dX
JagaJaga_ is now known as JagaJaga
fresheyeball has joined #nixos
<NixOS_GitHub>
[nixpkgs] pstn closed pull request #24792: Added libpciaccess to steam-rt for a few games. (master...srt-libpciaccess) https://git.io/vSKpM
<copumpkin>
niksnut, shlevy: I think 1.12 might have a regression around handling tarball channels
<fresheyeball>
niksnut: ok, so I added krita to my system packages, rebuild and restarted my computer
<fresheyeball>
the error persists
fresheyeball has quit [(Client Quit)]
fresheyeball has joined #nixos
<shlevy>
niksnut: domenkozar: ikwildrpepper: What's the process for a new channel? We'd like to have one based on the 'darwin-tested' job
<NixOS_GitHub>
[nixpkgs] pstn opened pull request #24800: steam: move libpciaccess as non-runtime dependencies (master...srt-libpciaccess) https://git.io/vS6NZ
<fresheyeball>
niksnut: actually that worked perfect. Apparently I just needed to remove the nix-env version. Thank you so much!
usoban_ has quit [(Ping timeout: 260 seconds)]
<cmacrae`>
I can't imagine I'm the first one to run into this issue with wpa_supplicant on NixOS - but perhaps its due to my unfamiliarity with the configuration (only just started exploring :) ) - just really not sure how to remedy this
<dtzWill>
copumpkin: what's the regression/problem? As someone using 1.12 on tarball channels lol is there something I should be looking out for?
<copumpkin>
dtzWill: I don't think it works, but I might be wrong :)
<dgonyeo>
simpson: I get identical output when I don't run it with sudo
<copumpkin>
hmm
noah-nix has quit [(Quit: Page closed)]
<dgonyeo>
simpson: not positive if gentoo does a multi-user or single-user setup
<copumpkin>
dtzWill: so .tar.gz didn't work but .tar.xz did?
<dgonyeo>
I don't particularly care which I have here
<dtzWill>
copumpkin: well and I named it "nixexprs" not "channels"
<copumpkin>
really confusing given `if (std::regex_search(filename, std::regex("\\.tar\\.(gz|bz2|xz)$"))) {`
<copumpkin>
shlevy: any hunches about what's going on there?
<copumpkin>
oh, I see
<dtzWill>
yeah so I intentionally avoided that check AFAICT, now that I'm looking at it, and just let it append nixexprs.tar.xz lol
<copumpkin>
perhaps that regex search just never passes
<dtzWill>
basically sounds like it's a bug, but dunno
<dtzWill>
yeah
<simpson>
dgonyeo: I'm not sure what you mean by what Gentoo does. It has to do with how Nix is set up. A multi-user Nix installation has a Nix daemon; a single-user Nix installation typically doesn't.
<dtzWill>
I mean that's my guess, worth investigating I think :)
katyucha has quit [(Ping timeout: 240 seconds)]
<dgonyeo>
simpson: I mean if the gentoo package sets nix up in multi-user or single-user mode
<dgonyeo>
although it looks like nix-daemon.service exists now
<simpson>
dgonyeo: Ew, is there an ebuild for $(emerge -av nix) or something? I would *not* trust that at all.
<dgonyeo>
I started that and ran `nix-channel --update`
<dgonyeo>
and now it kills my getty again :/
<simpson>
...OTOH I ditched Gentoo entirely, so who knows.
<dgonyeo>
like it boots me all the way back to a getty login prompt
<dgonyeo>
it has an italicized prefix, but doesn't give me much of a hint of where that would be
<dgonyeo>
`sudo find / -name nix.sh` gives me nothing :/
vandelsand has joined #nixos
jrolfs has quit [(Ping timeout: 245 seconds)]
<simpson>
if [ -e /home/simpson/.nix-profile/etc/profile.d/nix.sh ]; then . /home/simpson/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
<vandelsand>
hello
<simpson>
dgonyeo: ^^^ a line like that in your .profile or .bash_profile will suffice.
<vandelsand>
can someone explain what this command does?
<simpson>
vandelsand: Sure. It makes an environment with the `pciutils` package available, and then runs the `lspci` command from that package.
johnsonav has joined #nixos
<dgonyeo>
simpson: oh whoops, I just needed to actually read the output from the installer script
<dgonyeo>
sorry, dumb user error
byteflam1 has quit [(Ping timeout: 255 seconds)]
byteflame has quit [(Ping timeout: 255 seconds)]
jmeredith has joined #nixos
<dtzWill>
lol 5's and 7's don't work guys :P 1's it is
<dtzWill>
(they might work on stable Nix, but then so did the 'a's I'm used to using :P)
<vandelsand>
hey
<vandelsand>
i wanted to point out that in the instructions for installing, they don't tell you to mount your EFI partition to /mnt/boot
<vandelsand>
i had to figure that out, last week...
<vandelsand>
wasn't a big deal, but it feels like nixos is trying to keep the super-noobs out
<nixy>
vandelsand: Its there but its not obvious
<nixy>
It isn't mentioned until the uefi installation section which is after the mounting instructions
<vandelsand>
ahhh
<dtzWill>
i think some partitioning help would be great, had a friend who's not very systems-savvy give up installing NixOS trying to figure out partioning and making a boot partition for grub or something
<dtzWill>
not really our problem but just something that might ease the initial experience. Not sure if there's a sane way to do that without a huge amount of work (without being too fragile)
jasom has joined #nixos
<toppler>
I have to admit, the thoroughness of Gentoo install docs is impressive. I started on that distro as a complete noob.
<vandelsand>
yeah i see that there are a lot of other things to work out first, so...
sigmundv has joined #nixos
<nixy>
I mean, I think getting people to actually install/run NixOS is the best way to get people to help out with the other things
<dtzWill>
yeah, I think too many of us :P get through the process once and then never have need to visit it again haha. Esp with all the tooling for VM image generation and nixops and whatnot :P
<dtzWill>
(I think I'm just going to generate a virtualbox image for him to use instead of having him install NixOS himself lol, yay tooling goodness)
Seichi has quit [(Quit: Konversation terminated!)]
stepcut has joined #nixos
byteflam1 has joined #nixos
byteflame has joined #nixos
jensens has joined #nixos
bb_ has joined #nixos
<fresheyeball>
is there something special I need to do to use the locate command?
<fresheyeball>
sudo updatedb fails
<fresheyeball>
/run/current-system/sw/bin/updatedb: line 323: /var/cache/locatedb.n: No such file or directory
takle_ has quit [(Remote host closed the connection)]
<fresheyeball>
nvm, I found it
<fresheyeball>
I need to turn locate on under services
sivteck has quit [(Read error: Connection reset by peer)]
sivteck has joined #nixos
<cmacrae`>
I've opened the following issue for the wpa_supplicant problem I described above, in case anyone wants to track it :)
<NixOS_GitHub>
[nixpkgs] pajowu opened pull request #24803: browserpass: init at 1.0.2 (master...master) https://git.io/vSiI1
hotfuzz_ has joined #nixos
<bb_>
disam: 372.54.0.0
<bb_>
or rather, 367.35.0.0
<bb_>
that's the linux one.
ertesx has joined #nixos
hotfuzz has quit [(Ping timeout: 260 seconds)]
<bb_>
disasm: I think nvidia rolled back support for sparse residency on 780s at a later version.
<disasm>
bb_: yeah, I don't think there's an easy flag to switch. The url I linked above mentions adding something like that as a FIXME. You can always override the package though and use your custom package.
ertes has quit [(Ping timeout: 255 seconds)]
ertesx is now known as ertes
Itkovian has joined #nixos
fresheyeball has joined #nixos
<disasm>
cmacrae`: you're looking for pskRaw
<fresheyeball>
I would like to flip the orientation of my wacom tablet
sivteck has quit [(Quit: Leaving)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Quit: ryanartecona)]
<davidak>
is it normal to get such errors with nixos-rebuild switch --upgrade ?
<davidak>
modprobe: FATAL: Module ide_generic not found in directory /nix/store/wxyxq28mvsr74md0k4r462npfwqvdgx4-kernel-modules/lib/modules/4.9.21
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vSiOB
<NixOS_GitHub>
nixpkgs/master c7dd8a7 Thomas Tuegel: golden-cheetah: fix build...
MichaelRaskin has joined #nixos
byteflam1 has quit [(Ping timeout: 245 seconds)]
byteflame has quit [(Ping timeout: 245 seconds)]
drasich has joined #nixos
byteflam1 has joined #nixos
byteflame has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
georges-duperon has joined #nixos
AllanEspinosa has joined #nixos
phreedom has quit [(Ping timeout: 255 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #24804: top-level/platforms.nix: Reformat and clean up whitespace (master...platform-whitespace) https://git.io/vSiZe
<domenkozar>
shlevy: why can't we just add those restrictions to tested job?
tokudan has quit [(Quit: Leaving)]
ryanartecona has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
HappyEnte has joined #nixos
Dezgeg_ has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
bennofs has quit [(Quit: WeeChat 1.7)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bennofs has joined #nixos
Itkovian has joined #nixos
MichaelRaskin has quit [(Remote host closed the connection)]
sellout- has quit [(Quit: Leaving.)]
goibhniu has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
<rcschm>
does anyone here know how to add more plugins into vim nix install? thanks for any help.
k2s has joined #nixos
katyucha has quit [(Ping timeout: 240 seconds)]
bb_ has quit [(Ping timeout: 260 seconds)]
roygbiv has joined #nixos
k2s has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
circ-user-IYz5d has joined #nixos
<circ-user-IYz5d>
Hi! Is there a way to setup ldap authentication with nixos in a network where the ldap server is not always awailable? Like a laptop. It should be possible to cache the credentials offline with NixOS too! :)
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
<gchristensen>
how do you do that with any other linux computer?
Itkovian has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
drasich has quit [(Ping timeout: 245 seconds)]
Itkovian_ has joined #nixos
drasich has joined #nixos
Itkovian has quit [(Ping timeout: 255 seconds)]
cmacrae` has quit [(Remote host closed the connection)]
civodul has joined #nixos
<toppler>
gchristensen: When setting up the services for timers, is there anything lightweight I can do, or should I write per-service modules?
<Dezgeg>
sssd can do that, I suppose
xAFFE has left #nixos []
Guest60 has joined #nixos
<circ-user-IYz5d>
On any other computer I setup LDAP/sssd like this: https://wiki.archlinux.org/index.php/LDAP_authentication But NixOS configs do not allow fine grained control over all these configuration files. When I boot and the server is not available systemd hangs for 90seconds and the users only show up when the server is reachable...
<gchristensen>
toppler: not sure, sorry
<steveeJ>
is someone aware of a hydra service platform? that possibly has free service for open-source projects?
<toppler>
No worries.
<gchristensen>
steveeJ: can you tell me more about what you want / need?
<steveeJ>
gchristensen: a website where I can register and configure hydra build jobs for an existing, accessible, hydra installation
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #24804: top-level/platforms.nix: Reformat and clean up whitespace (master...platform-whitespace) https://git.io/vSiZe
<gchristensen>
obviously :P but like the rest of it, how big is your project?
<gchristensen>
PR building? build hooks? how many job? how expensive to comple?
<steveeJ>
build is only enabled for the master branch and PRs against it
<steveeJ>
there shouldn't be that many changes for compile-intensive tasks. the main reason I want hydra is becasue travis can't cache /nix/store, it can't upload in 180 seconds and then it aborts the cache write
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
I don't know of anything like it at the moment
<gchristensen>
do you have any budget to contribute towards making it happen?
Guest60 has quit [(Quit: My Mac Pro has gone to sleep. ZZZzzz…)]
<steveeJ>
unfortunately not, it's for the university
<gchristensen>
aye
<steveeJ>
we do have in-house servers but they are not publicly reachable
simendsjo has joined #nixos
Itkovian has joined #nixos
<steveeJ>
gchristensen: I will ask about running a public service on one of our machines
<simendsjo>
I see a year old effort to add roccat-tools that didn't end well (PR#13682). Does someone has a build that's not in nixpkgs? I just bought a new mouse, and with its 8200dpi, it moves extremely fast as opposed to my old 400dpi mouse.
<gchristensen>
steveeJ: yeah, practically speaking such a project, without providing a binary cache, could be like ~$35/mo starting, in just server costs, assuming good will time donations from someone to admin it
circ-user-IYz5d has quit [(Remote host closed the connection)]
<eacameron>
Is there a way to tell nixops to compress closures before copying them? My server has a really slow upload speed and compressed the closure is pretty small.
stepcut has quit [(Remote host closed the connection)]
wak-work has joined #nixos
Itkovian has joined #nixos
bennofs has quit [(Ping timeout: 252 seconds)]
dpren has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
sellout- has joined #nixos
alx741_ has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
ksf has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Remote host closed the connection)]
Sonarpulse has quit [(Ping timeout: 245 seconds)]
darlan has joined #nixos
Sonarpulse has joined #nixos
darlan has quit [(Client Quit)]
<benley>
doesn't it gzip it?
darlan has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
uralbash has joined #nixos
LnL has quit [(Ping timeout: 260 seconds)]
<eacameron>
benley: I don't know...for how long it takes I assumed it didn't
ebzzry has joined #nixos
LnL has joined #nixos
<NixOS_GitHub>
[nix] shlevy opened pull request #1321: nix-channel: error out if direct tarball unpack fails. (master...channel-direct-tarball-error) https://git.io/vSi7F
georges-duperon has joined #nixos
thc202 has quit [(Ping timeout: 255 seconds)]
cpennington has quit [(Remote host closed the connection)]
fresheyeball has quit [(Quit: WeeChat 1.7)]
byteflam1 has joined #nixos
byteflame has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<benley>
eacameron: if you can tell it ssh flags to set, you could try enabling ssh -C and see if that helps. Or do the equivalent in ~/.ssh/config
<benley>
(I don't remember exactly how nix-copy-closure operates)
<circ-user-65WRT>
I'm back debugging the SSSD/LDAP credentials cache problem. It seems that NixOS forces to run SSSD in parallel with NSCD "to make sssd work". This cannot be correct and seems to be a nixos bug.
<circ-user-65WRT>
even systemctl status sssd complains about nscd running ....
<mtetreault>
Hi, am I the only one running into issues using vagrant/virtualbox?
<mtetreault>
I have the following error: Stderr: VBoxManage: error: The virtual machine 'Vagrant Test VM' has terminated unexpectedly during startup with exit code 1 (0x1)
davidak has quit [(Quit: Leaving.)]
sigmundv has quit [(Ping timeout: 255 seconds)]
rcschm has quit [(Remote host closed the connection)]
<circ-user-65WRT>
and there is no way to set persistent to on in /etc/nscd.conf
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vSibh
<NixOS_GitHub>
nixpkgs/release-17.03 91b3abc Nikolay Amiantov: wrapGAppsHook: add librvsg as a dependency...
<circ-user-65WRT>
there isn't even a manual override of /etc/nscd.conf ... :(
JagaJaga has quit [(Ping timeout: 255 seconds)]
dridus has joined #nixos
<Dezgeg>
you should let sssd do the credential caching
sellout- has quit [(Ping timeout: 252 seconds)]
mekeor has joined #nixos
<Dezgeg>
nscd is used (even when not caching) because otherwise you would need to load pam_sss.so into each process wanting to do name lookups, which is *very* painful
sellout- has joined #nixos
<mekeor>
(how) can i load the proprietary nvidia driver while running the installation-image from an usb-stick?
dridus has quit [(Client Quit)]
<mtetreault>
mekeor: add the line services.xserver.videoDrivers = [ "nvidia" ]
<mekeor>
mtetreault: and then how do i reconfigure the running system? (sorry, i didn't read the whole manual yet.)
<circ-user-65WRT>
@Dezgeg so how can I let sssd do the credential caching?
<circ-user-65WRT>
I do not see an option to disable it
<Dezgeg>
disable what?
<Dezgeg>
you just enable it in sssd.conf
mtetreault_ has joined #nixos
<circ-user-65WRT>
nscd credential caching
<Dezgeg>
no, don't touch that
<circ-user-65WRT>
but this is what you said ... " you should let sssd do the credential caching"
<circ-user-65WRT>
which means, disable the nscd credential caching
<Dezgeg>
you leave nscd enabled but with TTL of 0
<Dezgeg>
which is what the sssd nixos module does
<circ-user-65WRT>
but it does not work
<Dezgeg>
how so?
<circ-user-65WRT>
if the ldap server is down, all my users disappear immediatlly
mtetreault has quit [(Ping timeout: 240 seconds)]
<circ-user-65WRT>
and nscd hangs during boot for 1:30 minutes
<Dezgeg>
you need to debug your sssd configs then (I haven't done the offline ldap thing myself)
LnL has quit [(Ping timeout: 240 seconds)]
<circ-user-65WRT>
I strongly believes enable-cache must be no in /etc/nscd.conf
<Dezgeg>
loading random pam_foo modules into random processes' address spaces is a very bad idea on nixos, hence we use nscd
<circ-user-65WRT>
Can this be a long term solution after all? All major distros have deprecated nscd a long time ago ...
wkennington has joined #nixos
<circ-user-65WRT>
and I kinda depend on offline sssd ... I have to switch the distros for some of my machines sadly
digitus has quit [(Quit: digitus)]
byteflam1 has quit [(Ping timeout: 252 seconds)]
byteflame has quit [(Ping timeout: 252 seconds)]
ryanartecona has joined #nixos
<Dezgeg>
someone proposed a glibc patch to make this sort of nscd use cleaner IIRC
<circ-user-65WRT>
oha. why is it so complicated under nixos? Can you enlighten me please? :)
davidak has joined #nixos
circ-user-65WRT has quit [(Remote host closed the connection)]
<Dezgeg>
it basically boils down to nix(os) being capable of having multiple versions of the same shared library around (that possibly are ABI-incompatible)