<jaykru>
what exactly is the pkgs set referred to in the systemPackages section of configuration.nix/how does it relate to nixpkgs and nixos "channels" (not sure if this is even the right term for these)?
<jaykru>
how would I specify I want a package under nixpkgs instead of nixos (nixpkgs has the newer version I want) when managing packages declaratively in my configuration.nix?
<ivanivan>
adisbladis: Excellent, thanks so much! I'll take a look at those.
<MP2E>
This looks like a good starting project to port a kernel module over. All you really need to do is make sure you set KDIR to the actual kernel directory, since it isn't at /lib/modules/* as expected
<adisbladis>
fresheyeball: Sorry I'm not experienced with setting up hydra.
<fresheyeball>
trying to get a hydra hello world, and the docs do not have my back
<fresheyeball>
adisbladis: all good, ok
<fresheyeball>
clever: ?
<fresheyeball>
I suspecy you know this
jaykru has quit [Ping timeout: 240 seconds]
acowley has quit [Ping timeout: 264 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #nixos
<ngastyle>
adisbladis: i see what you mean, thank you!
raynold has joined #nixos
shlevy has quit [Quit: Quit]
nixy has quit [Quit: WeeChat 1.7]
justanotheruser has quit [Quit: WeeChat 1.9.1]
Guest9529 has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos
hamishmack has joined #nixos
<ngastyle>
adisbladis: one more question here http://lpaste.net/361750 I'm trying to understand why, given the hello.nix and hello_builder.sh below, "binutils" is set as an environment variable in the builder but "binutils-unwrapped" is not.
<`_>
dhess: whoa sweet. So I'm relatively new here. How would I utilize that?
<dhess>
do you have any overlays set up?
Itkovian has joined #nixos
<`_>
Not that I'm aware of
<dhess>
hmm. Are you running nixpkgs out of a checked-out git repo, or are you using channels?
<`_>
Checked out repo
<`_>
Which, now that I come to think of it, I haven't rebased in a while
<dhess>
ok, then you could just stuff that hydra-manual-setup directory + its default.nix somewhere in the nixos/modules/services part of the repo, import it, and then enable the service with all of the options
<dhess>
an overlay is easier and more "proper" but if you don't have that working yet then maybe you just want to do the quick-and-dirty way
<`_>
I mean in the face of tedious-yet-proper and quick-and-dirty I usually prefer tedious-yet-proper, but if it's going to be too much I can honestly stick with quick-and-dirty
<dhess>
overlays aren't tedious, they're just something new to learn
<MichaelRaskin>
Maybe there should be a United Manual Of All Nix Related Stuff (just a concatention of Nix, Nixpkgs, NixOS, NixOps, Disnix, Hydra manuals as a single page, so that «searching in the manual» would work as desired)
<vegai>
yeah, exactly :)
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benley has quit [Quit: WeeChat 1.9.1]
cinimod has joined #nixos
Itkovian has joined #nixos
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Itkovian has quit [Client Quit]
asuryawanshi has joined #nixos
lopsided98 has quit [Ping timeout: 276 seconds]
periklis has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
lopsided98 has joined #nixos
leat has joined #nixos
<raynold>
Ahh it's a wonderful day
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Guest69782 is now known as fgaz
<hyper_ch>
it's raining outside and cold
<vaibhavsagar>
can I use libtool to turn a *.la file into a *.a file?
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #33999: innoextract: support extraction of multi-file archives (master...f/inno) https://git.io/vNRVy
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch>
for f in "/path/to/dir"*".la"; do base="${f%.*}"; mv "${f}" "${base}.a"; done
<hyper_ch>
:)
<vaibhavsagar>
nice
<hyper_ch>
but that's just renaming
<hyper_ch>
not sure what .la or .a files are
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vNRV7
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 43909be Peter Hoeg: Merge pull request #33947 from S-NA/profile-cleaner...
<NixOS_GitHub>
nixpkgs/master e63e55c S. Nordin Abouzahra: profile-cleaner: add missing dependency...
<hyper_ch>
vaibhavsagar: so what are .la and .a files?
<vaibhavsagar>
*.a files are static libraries
<vaibhavsagar>
*.la files are apparently input to libtool for achieving the same thing
<hyper_ch>
no idea :)
<vaibhavsagar>
so I'm trying to link against gmp6 which has libgmp.la but not libgmp.a
<adisbladis>
vaibhavsagar: Nope. Not possible.
Itkovian has joined #nixos
<vaibhavsagar>
okay, how is this meant to be done instead?
<vaibhavsagar>
I read that it involves libtool somehow
<adisbladis>
vaibhavsagar: You cant. There is no object data in the .la file.
<adisbladis>
vaibhavsagar: But you should already have a .so so it should be fine?
<vaibhavsagar>
I want an .a though :)
<vaibhavsagar>
I see that I can do this by overriding gmp, so I'll try that
jtojnar has joined #nixos
<hyper_ch>
so, I really like shellinabox now :)
<hyper_ch>
gotten myself a nice little letsencrypt cert and now I can access the shell on my homeserver through the web :)
<ij>
I'm changing hashedPassword of a user, but seems like a rebuild isn't changing the password.
<vaibhavsagar>
cinimod: I would advise not changing it system-wide
<cinimod>
Oops
<vaibhavsagar>
you can change it back
<vaibhavsagar>
actually you haven't changed it, my mistake
<vaibhavsagar>
but you've added nixpkgs-unstable AFAICT
<vaibhavsagar>
it shouldn't take very long
<vaibhavsagar>
cinimod: what if you try `NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/43909be63c2a6ba2833270499c477915833a4dac.tar.gz nix-build`
rauno has joined #nixos
<cinimod>
I just removed(?) it: `nix-channel --remove nixpkgs`
<vaibhavsagar>
aaaahhhh
<vaibhavsagar>
cinimod: what's the output of `nix-channel --list`
<cinimod>
Nothing
<vaibhavsagar>
what about `sudo nix-channel --list`?
<vaibhavsagar>
actually, are you on NixOS?
<cinimod>
OSX
<vaibhavsagar>
I'm guessing maybe not
taktoa has joined #nixos
jaykru has quit [Remote host closed the connection]
<cinimod>
I was about to try using the cabal command generated by nix
<cinimod>
Give me a few minutes
Itkovian has joined #nixos
Tucky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master fbaf5fd Frederik Rietdijk: gprof2dot: do not use pypy...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vNR6s
<mjvoge02>
For some reason Ocaml in nixpkgs has core modules like 'Lexing' available but 'Location' is not available. has anyone else run into this?
<lewo>
Is there a way to avoid Nix to scan output paths to generate the list of references?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/vNR64
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/release-17.09 780d1c4 Frederik Rietdijk: gprof2dot: do not use pypy...
<mjvoge02>
trying to use Location.~anything in location~ results in 'unbound module Location'
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vNR6B
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master f3fcae7 Peter Simons: Merge pull request #33982 from jlesquembre/gitHUD...
<NixOS_GitHub>
nixpkgs/master 9b577c4 José Luis Lafuente: gitHUD: disable tests...
<cinimod>
vaibhavsagar: I have run `cabal configure` with `hmatrix.cabal` and it completes but if I do `sed "/\/usr\//D" hmatrix.cabal > hmatrix.cabal` so that the lines containing `/usr` are deleted (which is what nix does) and the run `cabal configure` I get the error `cabal: ./hmatrix.cabal:119: 'then' branch of 'if' is empty`
<vaibhavsagar>
cinimod: I think you were right in the beginning then
TonyTheLion has joined #nixos
<cinimod>
I therefore claim that `cabal2nix` is behaving incorrectly
<vaibhavsagar>
fair enough
<cinimod>
I will report an issue
<vaibhavsagar>
what happens if you run cabal2nix --version
<cinimod>
But first I need some breakfast
<cinimod>
`cabal2nix 2.7`
<vaibhavsagar>
yeah, I think that's the latest one
dywedir[m] has joined #nixos
<TonyTheLion>
hello! Where do I have to put my package for nix to be able to find it when I put it in the 'nativeBuildInputs' section of my nix derivation?
<cinimod>
2.7.2 was released a few days ago
<vaibhavsagar>
TonyTheLion: you can reference the file that created it
JoJoen is now known as parseval
<TonyTheLion>
you mean defaultnix?
<cinimod>
Nothing obvious in the commit messages
<TonyTheLion>
because currently if I put my package in there, nix claims it doesn't know what it is
<vaibhavsagar>
TonyTheLion: can you put it in a paste or a gist?
<TonyTheLion>
vaibhavsagar: I could, but its quite simple, instead of doing 'callPackage ../myPackage {};' I want to just have it in the nativeBuildInputs list and have nix find it. So 'nativeBuildInputs = [ myPackage ];'
<vaibhavsagar>
TonyTheLion: I mean so I can have a look at it :)
<vaibhavsagar>
have you tried `nativeBuildInputs = [ (callPackage ../myPackage {}) ]`?
<vaibhavsagar>
the parentheses are because lists in Nix are space-delimited, unlike everything else
nkpart has quit [Quit: Connection closed for inactivity]
hakujin has joined #nixos
symphorien has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
knupfer has quit [Ping timeout: 256 seconds]
<betaboon>
hello #nixos. i've got a question regarding nixops+ec2: is it possible to deploy machines in a VPC that do not have a public IP (eg using a vpn) ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/vNRxx
<aminechikhaoui>
but it's only in master branch, the VPC support was recently merged
<srhb>
What's the prerequisites for adding bash completions for a nix-env -iA installed thing? I tried adding the completions to $out/etc/bash_completion.d/mything-completion.bash but that seems insufficient.
vidbina has joined #nixos
<Aleksejs>
can I update unfree package via nix-env -u pkgname?
iyzsong has joined #nixos
orivej has joined #nixos
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<betaboon>
aminechikhaoui: thanks for the hint. will look into it
dramforever has quit [Quit: Konversation terminated!]
klntsky has joined #nixos
ThatDocsLady_ has joined #nixos
mariel__ has quit [Read error: Connection reset by peer]
coot_____ has joined #nixos
rardiol1 has joined #nixos
coot_____ has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/vNRj1
<NixOS_GitHub>
nixpkgs/release-17.09 924ceda Rob Vermaas: awscli: upgrade to 1.14.22...
NixOS_GitHub has left #nixos [#nixos]
jensens has joined #nixos
<ghuntley>
Looking for examples on best practices how to keep secrets out of nixos configuration files (i.e. reference a directory that's not checked into git?)
Thra11 has joined #nixos
asuryawa_ has joined #nixos
goibhniu has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
<gchristensen>
ghuntley: just reference it :)
<gchristensen>
maybe you can provide more details
<vaibhavsagar>
ghuntley: use git-crypt to encrypt the secrets and decrypt on the target?
<ghuntley>
@gchristensen I'm still quite new to nixos... looking at others nixrc for ideas on how to layout and structure things.. looking for recommendations (tm) as I want to open-source everything at the end of this.
<ghuntley>
[well everything but the secrets...]
<ghuntley>
git-crypt - interesting #TIL though huge preference to not store them in the first place.. lemme look into it
coot_____ has joined #nixos
<vaibhavsagar>
ghuntley: we run NixOS on all our customer-facing sites and we use git-crypt for handling secrets :)
cmcdragonkai has joined #nixos
<vaibhavsagar>
another way is environment variables
<vaibhavsagar>
but then keeping those in sync is complicated, and defeats a lot of the benefits of declarative configuration
gchristensen has left #nixos ["WeeChat 1.9.1"]
gchristensen has joined #nixos
<gchristensen>
ghuntley: I frequently have a secrets.nix that I don't check in to git, and import in to my config. then I can do let secrets = import ./secrets.nix; in { .... users.root.hashedPassword = secrets.roots_hashed_password; }
<cmcdragonkai>
Does anybody know what the difference between boot.loader.grub.devices vs boot.loader.grub.mirroredBoots and why does each mirrored boot submodule can further specify devices as an array?
<ghuntley>
ta for sharing the syntax gchristensen that's handy!
<gchristensen>
you're welcome!
<andi->
ghuntley: I use a similar approach + I use `git-secret` to encrypt the file so I can check it in.
<andi->
since the password is in my password database that is one less thing to take care of while creating backups..
michiel_l has joined #nixos
peacememories has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
klntsky has joined #nixos
peacememories has quit [Client Quit]
fuyuuri has joined #nixos
peacememories has joined #nixos
peacememories has quit [Client Quit]
fyuuri has quit [Ping timeout: 256 seconds]
<samae>
Hey, does anyone an honest comparison nixops/terraform somewhere?
<gchristensen>
samae: terraform is way better at dealing with lots of different types of providers than nixops
<samae>
Ok, interesting
peacememories has joined #nixos
<gchristensen>
samae: but less good at nixos-specific stuff
sadasdasd has joined #nixos
<samae>
I bet
klntsky has quit [Ping timeout: 255 seconds]
<gchristensen>
I'd love to see a thing where nixops put all its "do provider-ey things" in to terraform and stopped doing it itself
<samae>
gchristensen: you mean it handles more providers, or it is better at creating a mixed setup?
<samae>
(like, multi-provider infrastructure)
<gchristensen>
I mean on all measures it is better. it is more thorough, it handles more providers, and handles more features of those providers
cmcdragonkai has quit [Ping timeout: 240 seconds]
<gchristensen>
NixOps has really good support for a narrow set of use cases
pkill9 has joined #nixos
<MasseR>
If your infra is a nixos infra, nixops is the way to go
peacememories has quit [Client Quit]
<MasseR>
(on a supported provider)
<gchristensen>
I agree with MasseR :)
peacememories has joined #nixos
<gchristensen>
I use nixops and if I can't get support for whwat I need in nixops, I'll fall back to something else and that works fine for me
<gchristensen>
so like I'll use another tool to provision the services and then manage their nixos parts with nixops
coot_____ has quit [Ping timeout: 240 seconds]
coot_____ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 3fe396d Jörg Thalheim: gpodder: fix crash on startup due missing GI_TYPELIB_PATH
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vN0UJ
NixOS_GitHub has left #nixos [#nixos]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92>
gchristensen: maybe terraform itself could be integrated into nixops?
<copumpkin>
that's what ikwildrpepper is looking into I think
ma27 has joined #nixos
<srhb>
Oh, interesting.
<gchristensen>
I think so :) in the meantime I wonder about just using terraform to emit a simple .nix file locally that nixops loads, hmm :)
<gchristensen>
hyper_ch: can you help them get setup with them? or GlennS could you help them get setup with nixos-infect? I can't help much right now.
<GlennS>
azazel: Nixos-infect is here if you want to try it https://github.com/elitak/nixos-infect, but probably that wiki page is a better first place to start from
<gchristensen>
or if you run out of options, check out blog posts for nixos on hetzner, etc.
<azazel>
GlennS: yes thanks, It's a similar approach to what hyper_ch has proposed
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<avn>
btw folks -- tell something about nixos-infect vs nixos-in-place?
<GlennS>
I've not heard of nixos-in-place before
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* etu
have tried nixos-infect on ubuntu 16.04 on digital ocean
<cinimod>
I think thanks to @peti's intervention we now have a version of hmatrix which builds in nix both on osx and nixos
<adisbladis>
I'm looking for a project to learn elixir but dont really know what to make :)
rauno has quit [Remote host closed the connection]
Capprentice has joined #nixos
<cinimod>
I think I meant I don't have to use `-fopenblas` to build hmatrix and I thought this was the same as using the native libraries on osx. Clearly I was mistaken and I am picking up the nix versions of blas and lapack. @peti has arranged things so that the default in nix is to use openblas. There may be performance differences but I am not going to investigate that just at the moment.
<mpickering>
that seems right
<cinimod>
mpickering: thank you and everyone else on this channel
<mpickering>
feel free to ping me with haskell packaging questions in future
<cinimod>
I still have a few things to try on hmatrix - one of the problems with stack is that it doesn't detect if I change the c source in the hmatrix package and the only way to get the c to rebuild is to nuke the .stackwork(?) folder
<cinimod>
I am hoping nix will detect the c sources have changed and rebuild
<cinimod>
Then I have 2 C++ packages which use entirely different versions of boost - I am hoping that nix will allow me to have both simultaneously
<cinimod>
And finally I want to use Haskell, R and Python together
<dtz>
Myrl-saki: I just made a PR fixing a project's use of nix-shell in the way you're trying to use it: https://github.com/studio/studio/pull/62 -- see that for explanation and the changes show how to do it
<NixOS_GitHub>
nixpkgs/master c61a9df Leon Schuermann: sshd: provide option to disable firewall altering
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vN0Y5
<dtz>
if you have new-ish nixpkgs with 'mkShell' helper, else you can use runCommandNoCC or something like I did therer
<Myrl-saki>
dtz: Ohhh
<Myrl-saki>
dtz: That's pretty cool.
<Myrl-saki>
dtz: Wait, what does --run do?
<Myrl-saki>
dtz: And what does runCommandNoCC do?
peacememories has joined #nixos
<dtz>
it's a bit wonky
<dtz>
maybe we should teach nix-shell a new tricks
<Myrl-saki>
Some other question. Why are my programs so slow when I use hardeningDisable=all?
<Myrl-saki>
To even go from 0.5s to 2.7s
<TonyTheLion>
I cannot find an example on how to add the 'pathAttr' so that I can do 'nix-build -A myPackage'
<dtz>
Myrl-saki: it's like stdenv.mkDerivation only it is geared for run commands not building things, and the "no CC" part means doesn't pull in the normal compiler
<TonyTheLion>
anyone can provide me with an example?
<dtz>
Myrl-saki: o_O
<Myrl-saki>
0.5s on -O0, and 2.7s on (-O3, hardeningDisable=all)
betaboon has quit [Quit: WeeChat 1.9.1]
peacememories has quit [Client Quit]
ryantrinkle has quit [Ping timeout: 248 seconds]
<dtz>
Myrl-saki: maybe because they're not bind-now ? And I was gonna say maybe you don't have an -O flag because hardening fority sets -O2
<Myrl-saki>
dtz: I specified -O3 with hardeningDisable=all, maybe my make is broken.
<dtz>
I'm not sure. Maybe profile or trace to see what it's doing in those seconds. haha
<dtz>
err to be clear I'm suggesting that's the attribute you want-- so if you pass it into whatever expression you're working on (add as an argument) you can get the path with something like: "${glibcLocales}/lib/locale"
<dtz>
not at all sure what the best way to fix that plasma thing is, but regarding your question "how do I get a path to the locales" that should help :)
peacememories has joined #nixos
peacememories has quit [Client Quit]
<gchristensen>
anyone here with an xps 9560 who uses their laptop with external displays? I'm having funny resolution problems, and really have just never setup a linux machine with multiple (changing) displays
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vN0np
<NixOS_GitHub>
nixpkgs/master 7177c9e Peter Hoeg: physfs: 2.0.3 -> 3.0.1
<NixOS_GitHub>
nixpkgs/master 4dec261 Peter Hoeg: asc: compile against older physfs
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 883957c Peter Hoeg: lincity_ng: cleanups and compile against older physfs
<gchristensen>
cc domenkozar ^ :)
<boegel>
is there a way to figure out how a particular package that Nix is installing was configured/built ? Which configure options, etc.?
<fpletz>
gchristensen: for the changing displays part: autorandr :)
<Mic92>
autorandr++
<Mic92>
maybe arandr for initial setup.
pkill9 has quit [Read error: Connection reset by peer]
<Mic92>
the readme of autorandr explains it well
<gchristensen>
I hear that is the thing! I'm having troubles with the resolution of my second screen, supporting 2560 x 1440 but arandr will only take it to 1920x1080. I suspect it might be the hdmi cable that is limiting it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vN0cW
<NixOS_GitHub>
nixpkgs/master 12b7def Matthew O'Gorman: platformio: 3.5.0 -> 3.5.1
<dtz>
locally, unless you use an option removed in 1.12 called "log-servers" IIRC
<filwisher>
What is the recommended approach for declaratively managing my system binaries (vim/firefox/...) in Arch using nix? Would it be something like a default.nix in $HOME?
<dtz>
1.12 moves to fetching it as part of the store abstraction, which is neat
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
asuryawanshi has joined #nixos
zzamboni has quit [Quit: Leaving.]
m has joined #nixos
m is now known as epta
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vN0RP
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master e1db0af Tim Steinbach: openjdk: 8u152 -> 8u172
rauno has joined #nixos
<azazel>
hyper_ch: not yet
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] veprbl opened pull request #34015: python-telegram-bot: init at 9.0.0 (master...pytgbot) https://git.io/vN0RN
NixOS_GitHub has left #nixos [#nixos]
ixxie has joined #nixos
hakujin has joined #nixos
knupfer has joined #nixos
alex`` has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
<ertes-w>
my NIX_PATH has <nixpkgs> pointing to root's channel, but i have a separate channel for my regular user… what's the proper way to have NIX_PATH point to that one?
<ertes-w>
(other than completely overriding it)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vN00S
<NixOS_GitHub>
nixpkgs/release-17.09 3898dc1 Tim Steinbach: openjdk: 8u152 -> 8u172...
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch>
azazel: basically what that kexec does is reboot the server into nixos that's only contained in ram... then just with the installation from a iso you partition stuff and mount stuff into /mnt and do a nixos-installation then :) so you really have a fresh nixos... don't install too many things at first, just the basic system and have it reboot :) then expand
<srhb>
Any idea how to go about debugging systemctl kexec simply hanging at loading the new kernel?
<symphorien>
shrb: I had some problems with the graphics module (here i915) if it wasn't loaded early somehow the kernel would be loaded correctly but the display could stay blank because.
<TonyTheLion>
can anyone tell me how I get 'nix-build -A myPackage' to recognized 'myPackage'. I know the -A flag is for 'attrPath', but how do I specifiy that in my nix derivation?
<srhb>
symphorien: Hm, here it's just stuck at the last line of the system shutting down forever.
<srhb>
TonyTheLion: Are you building a standalone nix package?
<TonyTheLion>
ye
<srhb>
TonyTheLion: If so, the expression should be of the form { myPackage = }
coot_____ has quit [Quit: coot_____]
<symphorien>
sorry no idea then
<srhb>
symphorien: Thanks anyway :)
<TonyTheLion>
so { myPackage = stdenv.mkDerivation { ... }}
<concatime>
hyper_ch: But Mullvad have a custom files.
<hyper_ch>
and what's in that custom files?
<hyper_ch>
it has a destination address
<hyper_ch>
it has keys
<hyper_ch>
etc.
<concatime>
So I have to copy manuaaly?
<hyper_ch>
you could also add wireguard to the list of installed packages and try to run their config with wg-quick but never tried and it seems bothersome
<concatime>
I tried, but
<concatime>
RTNETLINK answers: Operation not supported
<concatime>
"the wireguard kernel module was not installed correctly"
<hyper_ch>
wg runs fine here
<concatime>
Yes, but not wg-quick up
<concatime>
'sudo wg-quick up mullvad-XXX' > Operation not supported
<hyper_ch>
so then use the config
<concatime>
I will give it a shot thank you
Tucky has quit [Ping timeout: 265 seconds]
simukis has joined #nixos
civodul has quit [Ping timeout: 264 seconds]
coot______ has joined #nixos
coot______ has quit [Remote host closed the connection]
randomstrangerb has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
randomstrangerb has joined #nixos
coot_____ has quit [Ping timeout: 276 seconds]
CrazedProgrammer has quit [Quit: Ping timeout (120 seconds)]
digitus has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #34018: fetchpatch: Add support for an arbitrary extra prefix (master...fetchpatch) https://git.io/vN0wE
NixOS_GitHub has left #nixos [#nixos]
nschoe has quit [Quit: Program. Terminated.]
rauno has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
<sphalerite_>
I've added checking to dnsmasq to make the system fail to build if the config file is invalid and want to add a test checking this. Is it possible to expect a derivation to fail to build?
<sphalerite_>
s/dnsmasq/the dnsmasq module/
pkill9 has quit [Ping timeout: 260 seconds]
stphrolland has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #34018: fetchpatch: Add support for an arbitrary extra prefix (master...fetchpatch) https://git.io/vN0wE
NixOS_GitHub has left #nixos [#nixos]
periklis has quit [Ping timeout: 240 seconds]
<disasm>
concatime: you have latest kernel booted? I got the same error on my d.o box and it was because I needed to reboot.
<disasm>
err vultr box :)
<stphrolland>
Hi. So as to avoid the issue with stack failing with the cassava flag, I was told to install the unstable.stack version. Unfortunately stack build do not work because of an explicit call to /bin/bash during the make install of GHC. How do you guys compile your haskell project when on nixos 17.09 ?
<concatime>
disasm: I'm using the latest kernel, and I already rebooted.
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
jonored has joined #nixos
<concatime>
I'm having an error: Cannot find device "wg0"
<stphrolland>
disasm: the issue with the cassava flag that stack is not able to read is recent. A couple of months I think. It's not a general issue, it's a temporary issue until the version nixos.stable.stack is ok. That's the reason I tried to run with the unstable.stack package, without success unfortunately. I'll read your links however, but I don't think it will help. Thanks anyway.
jensens has quit [Remote host closed the connection]
jensens has joined #nixos
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bendlas pushed 2 new commits to master: https://git.io/vN06I
<mrkgnao>
did NixOS switch wireless device names recently? ip link says what used to be wlp8s0 is now wlan0 again like in the good old days
<FRidh>
LnL: right, but why would that now cause failures when building myself?
astsmtl has quit [Ping timeout: 248 seconds]
tmaekawa has joined #nixos
<FRidh>
it is inside a chroot
<LnL>
I suspect it's an issue with a dependency
<LnL>
that has a reference to /build when it shouldn't
tmaekawa has quit [Client Quit]
<Ralith>
anyone know why steam's tray icon might be missing?
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
pie__ has joined #nixos
benley has joined #nixos
ma27 has joined #nixos
filwisher has quit [Remote host closed the connection]
jensens has quit [Ping timeout: 248 seconds]
user__ has quit [Quit: Leaving]
Isorkin_ has quit [Ping timeout: 256 seconds]
<FRidh>
LnL: it happens with a lot of derivations
simukis has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
simukis has joined #nixos
<adisbladis>
mrkgnao: I guess you are on the unstable channel? We had a regression recently in interface names that was promptly fixed so an update should solve that.
<mrkgnao>
adisbladis: correct, I use unstable
<mrkgnao>
thanks!
xcmw has quit [Ping timeout: 276 seconds]
<Ralith>
Mic92: bennofs: either of you around? the new cargo vendor based rust stuff doesn't seem to be able to handle git dependencies
<Mic92>
Ralith: not a regression
<Mic92>
the old one also did not .
<Ralith>
well, the new one uses tools that claim to :P
<Mic92>
*if cargo supports*
<Mic92>
I think our cargo version is still the old one
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] benley opened pull request #34020: linux-steam-integration: Append "Settings" to launcher menu item (master...benley/lsi-settings) https://git.io/vN0yP
NixOS_GitHub has left #nixos [#nixos]
<Ralith>
??
<Ralith>
yes, cargo claims to support this now
<Mic92>
the problem was, that cargo was downloading git dependencies
<Mic92>
I am not sure, what the current state is
<Ralith>
I'm supplying the latest version to makeRustPlatform
<Ralith>
the current state is that `cargo vendor` and `cargo` both allegedly support this case but it does not work on nix
<pierron_>
Is anybody using rsnapshot, how does it work with remote which are not constantly available (turned off) ?
<nixy>
hl: I'm not sure if that actually get's committed to the nix store or not
bpa has quit [Read error: Connection reset by peer]
bpa2 has joined #nixos
<hl>
Looks like it doesn't by default. crap.
jensens has joined #nixos
<nixy>
Yeah that's more or less what I found, but I wasn't sure if it was just hiding from me
<MichaelRaskin>
Maybe config.system.copySystemConfiguration should become the default…
<hl>
Seems like it would be a good idea.
<nixy>
Yeah I would be thoroughly for that defaulting to true
<MichaelRaskin>
Well, it is misleading as soon as you don't have everything in a single file.
<nixy>
It'd be nice if it could generate a list of imported .nix files and link those too (dreamer talk here)
<nixy>
I don't know any way to do that without it becoming messy though
bpa3 has joined #nixos
<MichaelRaskin>
And of course everyone who could write that has zero reasons to do it, because why exactly would the configuration not be in a VCS.
<tilpner>
nixy - I have ptpb.pw/h-9n in my config, it saves all my config every time
bpa2 has quit [Read error: Connection reset by peer]
<tilpner>
nixy - You still need to be careful to keep all your config in that directory, and to keep the directory small (don't clone nixpkgs there)
<nixy>
Yeah, I'm not opposed to tilpners solution (it's pretty nifty) but I'm not sure that's good for general case
<tilpner>
Definitely not fit to be a default
<nixy>
I put nixpkgs in your nix store so you can nix while you nix dawg
<MichaelRaskin>
Nixpkgs with complete history, mind you
<tilpner>
Just nixpkgs would be fine. .git... not so much
bpa3 has quit [Read error: Connection reset by peer]
<samueldr>
nixpkgs may be in your store already if you're using channels, wouldn't it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/vN07m
<NixOS_GitHub>
nixpkgs/staging a18053b John Ericson: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin>
Compressed, though
<samueldr>
yeah
bpa3 has joined #nixos
<MichaelRaskin>
Uncompressed Nixpkgs is large even without history
pkill9 has joined #nixos
<tilpner>
<15MB, that's okay
<tilpner>
Oh, maybe noto
ThatDocsLady_ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #34021: boomerang: switch to new active fork, cleanup, maintain (master...update/boomerang-20180118) https://git.io/vN075
NixOS_GitHub has left #nixos [#nixos]
<adisbladis>
147M uncompressed
<tilpner>
122M :/
rauno has joined #nixos
Isorkin has joined #nixos
<rauno>
When defining custom systemd service (some binary) how can i define correct PATH for that service ?
<rauno>
not sure why its different from systems..
<samueldr>
iirc it's isolated to have nothing in PATH^[citation needed]
<rauno>
okay, so how to define the needed packages which should be in path?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jammerful opened pull request #34022: Update Shibboleth Service Provider Packages (master...master) https://git.io/vN05U
<rauno>
not sure why i didnt check there, usually do it
<samueldr>
:)
reinzelmann has quit [Quit: Leaving]
orivej has joined #nixos
<gchristensen>
domenkozar: ping
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
acowley has joined #nixos
bpa3 has quit [Read error: Connection reset by peer]
bpa3 has joined #nixos
lonokhov has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
<hoverbear>
I see a lot of transient failures with NixOS when calling cc via Cargo. Is this normak?
vcunat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill closed pull request #32957: gnuplot_full: init with support for lua/tikz/tex (master...feature/gnuplot-extra-terminals) https://git.io/vbSjm
NixOS_GitHub has left #nixos [#nixos]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
dbe_ has joined #nixos
randomstrangerb has quit [Ping timeout: 256 seconds]
<NixOS_GitHub>
nixpkgs/release-17.09 18d0a3b Dan Peebles: xcbuild: 0.1.1 -> 0.1.2-pre...
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vN0bt
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
<stphrolland>
exit
stphrolland has quit [Quit: leaving]
rauno has quit [Ping timeout: 240 seconds]
Itkovian has joined #nixos
fyuuri has joined #nixos
hamishmack has quit [Quit: hamishmack]
cnidario has quit [Remote host closed the connection]
el_putin has joined #nixos
la_putin has quit [Read error: Connection reset by peer]
Drakonis has joined #nixos
rauno has joined #nixos
Guest144 has joined #nixos
aborsu has joined #nixos
Guest144 is now known as almin
mrkgnao has quit [Ping timeout: 248 seconds]
la_putin has joined #nixos
el_putin has quit [Read error: Connection reset by peer]
coot_____ has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
coot______ has quit [Ping timeout: 248 seconds]
<domenkozar>
gchristensen: pong
<gchristensen>
domenkozar: do you have your xps working with multiple monitors? :)
<domenkozar>
yes
<gchristensen>
do you use nvidia + intel drivers
<domenkozar>
nvidia is disabled
<domenkozar>
at hardware level
<MichaelRaskin>
That's an easy cop-put!
<MichaelRaskin>
(Me has Optimus with VGA-out through NVidia, and actual Nouveau with Prime)
<gchristensen>
hardware level! really? how? also, is your secondary display also high DPI? I'm finding it difficult to properly configure my large display to have a sufficient resolution, and I'm not sure if it is (1) pebcak (2) the fault of the cable, (3) some driver
<MichaelRaskin>
Hardware level is probably BIOS
<MichaelRaskin>
Can you configure it at a high DPI and low refresh (30Hz)?
<gchristensen>
good question
__red__ has joined #nixos
<__red__>
I'm wanting to build a linux distro that has a large number of domain-specific tools. Is there any concept of a second pkgs-like namespace such that derivations could reference normal nixos packages?
<__red__>
(I recognise this is probably an XY problem, so feel free to say there's a better way to solve that problem)
<MichaelRaskin>
Have you read anything about Nixpkgs overlays?
<__red__>
So, about that. I was explicitly googling for those terms and didn't find anything.
<__red__>
since I'm an ex-Gentoo'er... layman was where my brain went first.
jensens has joined #nixos
<MichaelRaskin>
Google is not your friend, neither it has anywhere decent recall
schoppenhauer has quit [Ping timeout: 268 seconds]
bpa3 has quit [Read error: Connection reset by peer]
<MichaelRaskin>
__red__: you might _also_ be interested in taking a careful look at expressions for xorg or kde or pythonPackages
<MichaelRaskin>
So that you have an overlay that adds a package set structured like pythonPackages
<gchristensen>
I can, MichaelRaskin. everything is a bit ... big still, but much more reasonable. probably because of my 2.5x multiplication on everything due to the density of my laptop's screen.
ma27 has quit [Ping timeout: 255 seconds]
<gchristensen>
(that is, it works okay at 2560x1440 at 30hz, but at 60hz it says "xrandr: Configure crtc 1 failed"
<MichaelRaskin>
Oh right, yes, X11 doesn't seem to have a good solution to two monitors with drastically different DPIs
<gchristensen>
is that something wayland is looking to fix? do we support wayland? :P
<MichaelRaskin>
We somewhat support Wayland.
<MichaelRaskin>
Not sure it has a good solution, though
<MichaelRaskin>
Frankly, an X11 compositing manager could have a good solution.
<__red__>
I'll take a look. Honestly, I'm still 75% cargo-cult with my nix expression writing (although I do still have 2 packages in stable I'm maintaining) :-)
<MichaelRaskin>
__red__: just in case — there is also Nix manual, it is a third separate text.
* gchristensen
looks up compositing managers
<MichaelRaskin>
I think Compiz (is it still alive?) lacked mouse input in scaled windows.
<MichaelRaskin>
Maybe Kwin could be configured…
<__red__>
unfortunately, you kinda have to choose between single point of failure and performance
lassulus has quit [Changing host]
lassulus has joined #nixos
<gchristensen>
I deleted Compiz a while back. one thing I could look in to is just not using my laptop's display, that wouldn't hurt my feelings too much.
<__red__>
wrt windowing systems
<__red__>
anyways - brb - ans thanks again MichaelRaskin
<gchristensen>
* that is, while plugged
<copumpkin>
<copumpkin>
$ nix-env --rollback
<copumpkin>
error: no generation older than the current (1) exists
<copumpkin>
:(
<MichaelRaskin>
gchristensen: there is a catch that changing application DPI usually requires restart
<copumpkin>
gchristensen: is that something weird with how the user env gets created on darwin?
<MichaelRaskin>
(of the application)
<gchristensen>
guh, that's right, MichaelRaskin.
<gchristensen>
copumpkin: I don't follow
<MichaelRaskin>
I can offer an ultra-weird advice, of course…
<MichaelRaskin>
VNC allows scaling…
<copumpkin>
gchristensen: if I just did a fresh multi-user install and nix-env -iA something, it seems like I should be able to roll back to nothingness
<copumpkin>
not sure if that's the case on linux
<copumpkin>
but my fresh darwin multi-user install isn't letting me roll back to nothingness
<MichaelRaskin>
copumpkin: I think first nix-env -i _creates_ the profile
<MichaelRaskin>
There is no obligatory initial-empty-commit
<MichaelRaskin>
Maybe it is wrong…
<copumpkin>
hmm
<copumpkin>
I guess you're right
<copumpkin>
just tried on linux and it did the same
<gchristensen>
jeeze MichaelRaskin, that is weird :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] deepfire opened pull request #34023: GHC 8.4: compiler and package fixes (master...x-ghc-8.4-master) https://git.io/vNEvS
<copumpkin>
gotta keep up my record of the most issues
<copumpkin>
globin, fpletz: award to you for the most backhanded compliment at NixCon 2017 :P
schoppenhauer has joined #nixos
<copumpkin>
j/k
vidbina has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
xcmw has quit [Ping timeout: 240 seconds]
<__red__>
MichaelRaskin: I'm not sure I fully follow the overlays docs. Do you know of anyone / anything / anyproject that uses it such that I could see more examples?
simukis has quit [Read error: Connection reset by peer]
aszlig has quit [Ping timeout: 260 seconds]
bind has joined #nixos
<bind>
good evening
<bind>
(or morning or day)
randomstrangerb has quit [Ping timeout: 256 seconds]
<bind>
I am just trying to do my first nixos install .. is this the right place to ask questions? :)
<samueldr>
about nixos, yes!
<bind>
struggling with wifi
<samueldr>
graphical or minimal iso?
<bind>
graphical iso
<bind>
from usb
randomstrangerb has joined #nixos
<samueldr>
what kind of issues with wifi?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vNETG
<NixOS_GitHub>
nixpkgs/master c278dd0 Jan Tojnar: bustle: re-enable hgettext support...
NixOS_GitHub has left #nixos [#nixos]
<bind>
so .. I found a link on the internet where they wrote about systemctl stop wpa_supplicant ... and creating a /etc/wpa_supplicant.conf with the output of wpa_passphrase
<bind>
but I still cannot ping anything :)
<gchristensen>
!!! MichaelRaskin, Mic92, with both of y'all's help, domen's comment, and a note from obadz, I have multi-monitor with reasonable display sizes!
<samueldr>
you may want to use nmtui bind
<bind>
ifconfig does not give me an ip4 address
coot_____ has quit [Quit: coot_____]
<bind>
nmtui?
<bind>
let me see..
<bind>
will boot up again :)
<samueldr>
text user interface for network-manager, iirc it's on the graphical iso (if it isn't on minimal)
jensens has joined #nixos
<MichaelRaskin>
gchristensen: so you just tolerate 30Hz and DPI mismatch?
<gchristensen>
MichaelRaskin: well, we'll see, but this is progress and progress is good. do you have any suggestions on fixing the hz?
xcmw has quit [Ping timeout: 240 seconds]
<MichaelRaskin>
Not really — haven't has anything larger than 1920x1200 where 60Hz seems to be fine anyway
<__red__Away>
I run 4k@30hz and it doesn't bother me here fwiw
oida has joined #nixos
<__red__Away>
pwd
<gchristensen>
/home/grahamc
<__red__Away>
haha,
<__red__Away>
I would gchristensen++ you but we're immutable and pure on this channel ;-)
<gchristensen>
hah!
<bind>
samueldr: it is on there; nmtui
<samueldr>
bind: does it help?
<bind>
samueldr: yay! :) it does
<MichaelRaskin>
Nobody has ever convinced me that just writing wpa_supplicant.conf by hand is more complicated than looking up what is the supposed user0friendly method this month.
<bind>
samueldr: but ... why didn't wpa_supplicant?
<samueldr>
bind: dunno!
<bind>
samueldr: any ideas? or just leave it for now? :)
vcunat has quit [Quit: Leaving.]
<samueldr>
I'm no network wiz, that's why I'm leaving it to network-manager
<MichaelRaskin>
wpa_supplicant doesn't call dhclient on its own
vidbina has quit [Remote host closed the connection]
<__red__Away>
must bite tongue, must bite tongue
<bind>
samueldr: I see
aszlig has joined #nixos
<bind>
MichaelRaskin: I tried to invoke dhclient ... but it doesnt seem to be on the iso?
<Mic92>
bind: dhcpcd is
<samueldr>
it may be a dhcp service
<samueldr>
^
hakujin has joined #nixos
phaebz has joined #nixos
<etu>
dhcpcd is a client
<bind>
aah ... I see ... dhclient is somewhere tucked away in the nix store directory?
<bind>
but not on PATH
<samueldr>
(I meant that it may have been a systemd service named dhcp*something*)
<MichaelRaskin>
dhcpcd is another implementation of DHCP client, I think
<samueldr>
that, yes
<bind>
so I guess ... the nmtui (network manager ui thing) called the dhclient for me now?
dan_b has joined #nixos
<MichaelRaskin>
Or dhcpcd
<bind>
MichaelRaskin: you mean one or the other client program was being called in order to get an ip address for my interface?
phaebz has quit [Remote host closed the connection]
<MichaelRaskin>
Yes
dj_goku has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
<bind>
but how to make the dhcp client accessible to me (it is somewhere in the nix store ... but not on path) I guess I should be able to find/call it without much trouble?
<bind>
I guess I should read up on nix...
phaebz has joined #nixos
<bind>
anyway .. thank you very much :) I will try to proceed with the installation
phaebz has quit [Remote host closed the connection]
phaebz has joined #nixos
shabius has quit [Quit: Leaving]
shabius has joined #nixos
<srhb>
bind: Normally you'd install something either into environment.systemPackages (if on NixOS) or in your user profile, and it will be on your PATH.
mkoenig has quit [Ping timeout: 260 seconds]
bpa3 has quit [Read error: Connection reset by peer]
hakujin has joined #nixos
bpa3 has joined #nixos
mkoenig has joined #nixos
datakurre has quit [Ping timeout: 256 seconds]
ent has quit [Ping timeout: 256 seconds]
ssmike1 has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
Dezgeg has quit [Ping timeout: 256 seconds]
bpa3 has quit [Read error: Connection reset by peer]
seequ has quit [Ping timeout: 248 seconds]
bpa3 has joined #nixos
xcmw has joined #nixos
seequ has joined #nixos
datakurre has joined #nixos
<srhb>
How do I delete old kernels before doing anything else? I think the logic is in the switch script somewhere, but the order is wrong.
<srhb>
From /boot, that is
<srhb>
(I can just nuke them manually, but I'd rather not.)
ent has joined #nixos
lonokhov has quit [Quit: Lost terminal]
<gchristensen>
so I think you have to GC some system profiles, _then_ do a nixos-rebuild switch, and if that doesn't work you then have to go in and do some GC-by-hand
hiratara has quit [Ping timeout: 265 seconds]
<srhb>
I gc'ed all generations and switching is still impossible because there's no space for bzImage.
<srhb>
I'll just nuke some kernels manually. :)
<srhb>
I bet it will correctly gc them after it can place the one version there correctly.
bpa3 has quit [Read error: Connection reset by peer]
ma27 has quit [Ping timeout: 265 seconds]
<gchristensen>
yeah that is gnarly :/
bpa3 has joined #nixos
<srhb>
I think it's just an ordering issue. can probably track it down.
hiratara has joined #nixos
<srhb>
Yup, deleting an arbitrary one unblocked everything and all the old ones are now gone. :)
datakurre has quit [Quit: all work no play makes jack a dull boy]
<MichaelRaskin>
In my not-really-NixOS system I have actually written the config generator to make sure old kernels are deleted correctly.
bpa3 has quit [Read error: Connection reset by peer]
bpa3 has joined #nixos
athan has quit [Remote host closed the connection]
<srhb>
I understand why it's not the garbage collectors job to do it, but it sure would simplify things.
<gchristensen>
IMO it is the GC's job to do it, but there is a lack of hooks to do it
<typetetris>
nix pill 12 is damaged .. gcc downloaded with channel uh, oh nixpkgs-unstable my my ... maybe I should switch to a stable channel.
<MichaelRaskin>
gchristensen: nope
<srhb>
I think it's a bit scary to have the gc move out of the store.
<MichaelRaskin>
GC should not assume /boot is mounted at all
<typetetris>
how can I change the channel I am using?
<gchristensen>
yes, the gc itself shouldn't do it, but I think a hook system which can be ... hooked in to ... would be good
<srhb>
typetetris: "using" ? :)
<gchristensen>
typetetris: what is wrong with pill #12?
<srhb>
typetetris: You can have several channels at once
<srhb>
typetetris: Just add them with nix-channel
<nixy>
typetetris: Channels are weird
oida has quit [Ping timeout: 265 seconds]
<srhb>
typetetris: You can then refer to their names with nix-env (as in nix-env -iA channelName.package)
<typetetris>
@gchristensen with unstable channel it fails to compile graphviz.
<gchristensen>
the story here, IMO, isn't that channels should be changed, but that the pill should be fixed
va1entin has joined #nixos
<srhb>
typetetris: graphviz builds fine on my nixos-unstable
<MichaelRaskin>
gchristensen: it is actually easy to remove old kernels before copying new ones
<gchristensen>
srhb: the pills do it differently
<typetetris>
You need to add a `-Wno-error=unused-variable` than and probably some others somehow.
<MichaelRaskin>
If NixOS officially admits that it is not always the only system sitting on the same store, I would try to merge my GRUB-config-merger into NixOS
<gchristensen>
MichaelRaskin: what does that mean?
<typetetris>
how can I make a stable channel my default channel? @srhb: don't want to use that syntax all the time.
<MichaelRaskin>
NixOS assumes that system-*-link are all NixOS, and these are the only things that want profile-based bootloader entries. And it thinks that it can generate the configs from scratch for each entry.
bpa3 has quit [Read error: Connection reset by peer]
<srhb>
typetetris: I don't think there's such a thing as a default channel, but I don't know for sure.
<gchristensen>
ahh I see, MichaelRaskin
nix-gsc-io`bot has joined #nixos
<srhb>
typetetris: (And if you mean the -A, I think you should always use that anyway :))
<nixy>
typetetris: No such thing as a default channel
bpa3 has joined #nixos
nix-gsc-io`bot has quit [Client Quit]
<bind>
samueldr: I guess my nix configuration would need a networking.networkmanager.enable = true ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNEmK
<NixOS_GitHub>
nixpkgs/master 1dade86 Tuomas Tynkkynen: hdparm: 9.52 -> 9.53
NixOS_GitHub has left #nixos [#nixos]
<samueldr>
if you want to use networkmanager
<MichaelRaskin>
In reality I want to have multiple profiles be bootable systems, and have a protocol that allows each of them have its own logic about generating boot options and placing the kernel.
<bind>
samueldr: well it works right now .. so I guess I would like :D
<gchristensen>
MichaelRaskin: having seen the horrors of the systemd / grub bootloader config generators, I don't disagree :)
<MichaelRaskin>
Well. I do have it with my multiple approaches to system assembly, it's just NixOS that doesn't fit in.
<va1entin>
Does somebody know why it is impossible to change services.xserver.displayManager.sddm.theme when using Plasma5?
<michalrus>
Emmm, how do I setup the broadcast address for a statically configured network interface?
datakurre has joined #nixos
<michalrus>
Because right now I have it at inet addr:10.77.4.1 Bcast:0.0.0.0 Mask:255.255.255.0
<MichaelRaskin>
I just assume that /nix/var/nix/profiles/*/boot/for-bootloader is the list of all things to consider.
<typetetris>
So I have to add a stable channel and remove the unstable channel to get the stuff from the stable channel per default ?
<srhb>
michalrus: By setting the appropriate prefix I assume
<MichaelRaskin>
(then I say that kernels in /boot that are not mentioned in these places _now_ get removed before anything large gets written to /boot)
<michalrus>
srhb: why do I have it at 0.0.0.0 then? :c
<srhb>
michaelrus: How did you set up your address?
<MichaelRaskin>
And this for-bootloader has snippets for whatever bootloaders are supported. Right Now it is grub2_efi only for me, but let's just say it is easy to extend.
<nixy>
typetetris: If you use `nix-env -i $package` nix will choose the latest version available from all channels. People usually prefer to specify a channel explicitly with `nix-env -iA $channel.$package`
<typetetris>
hmm if I do `nix-channel --add <url-to-17.09> nixpkgs` and try my build again, it complains `binutils-unwrapped` doesn't exist, which is assumed to exist by the nix pills , so that didn't help either.
<srhb>
michalrus: Yes please!
<michalrus>
Kay!
bpa has joined #nixos
<srhb>
typetetris: Someone mentioned that yesterday (wasn't it you?) and the problem there was the implicit assumption of the builder that binutils-unwrapped is set as an env var, but it's not because it has a dash in it
bpa3 has quit [Ping timeout: 248 seconds]
<typetetris>
Yes and no. I mentioned the problem I had with the dash, and you can't use environment variables with a dash in them in bash try `${test-uiaae}`. But the problem now is, some compiler switches are missing to get graphviz to compile and trying an older channel, to get an older compiler yielded me the error `error: undefined variable ‘binutils-unwrapped’`
<bind>
oke ... failure because of missing /boot directory :D I will try again tomorrow.. almost forgot how involved the trying out linux experience can be :)
<typetetris>
or `test-uiaeiua=blah` on bash cli.
TheAppleMan has joined #nixos
<ij>
Does changing the kernel result in a rebuild of everything?
<erko>
hi! i broke my grub bootloader.. I can just enter the system by manually setting prefix/root in the grub resucue mode.. But I cannot make this change permanent.. Tried to nixos-rebuild switch, but I always get to the rescue terminal when rebooting... any suggestins for me?
Dezgeg has joined #nixos
datakurre has joined #nixos
alexteves has joined #nixos
aarvar has joined #nixos
alexteves_ has quit [Ping timeout: 240 seconds]
jmiven has quit [Quit: co'o]
erko has quit [Remote host closed the connection]
jensens has quit [Ping timeout: 248 seconds]
jmiven has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] florianjacob opened pull request #34028: piwik is now matomo (master...matomo) https://git.io/vNEnU
NixOS_GitHub has left #nixos [#nixos]
knupfer has quit [Remote host closed the connection]
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vNECa
<NixOS_GitHub>
nixpkgs/master d45b33f Tim Steinbach: Merge pull request #29300 from vdemeester/update-containerd-1...
<NixOS_GitHub>
nixpkgs/master ef07118 Vincent Demeester: containerd: 0.2.9 -> 1.0.1...
magnetophon has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
sevcsik1 has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
hakujin has quit [Ping timeout: 255 seconds]
swayf has joined #nixos
gwang has joined #nixos
jtojnar has quit [Ping timeout: 256 seconds]
gwang has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ElvishJerricco opened pull request #34030: Move packageSourceOverrides to haskellLib (master...move-package-source-overrides) https://git.io/vNElv
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
spear2 has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
jekor has joined #nixos
bananapeel has joined #nixos
hakujin has joined #nixos
magnetop` has quit [Ping timeout: 256 seconds]
anon132 has joined #nixos
<bananapeel>
hello. i am on a foreign computer running macOS. it has virtual box installed on it, so i figured i would go ahead and get latest nixOS .ova image and use the default settings there. however, the machine seems to run unreasonably slowly. in trying to resolve this issue i tried to deviate from the default settings in the .ova container (disabled processor extensions, given it more cores, more memory, accelerated 3D). has anyone else
jtojnar has joined #nixos
nix-gsc-io`bot has joined #nixos
<joepie91>
bananapeel: disabling processor extensions is a very likely cause for slow virtualization
<bananapeel>
i've tried to use it without changing the default though
<bananapeel>
there is only one setting, which by default is active (which i tried), and it's the "Enable PAE/NX", accessible through virtualbox Settings --> System --> Processor