<anthony_brice>
Would anyone be able to explain to me what nix-darwin is? I don't understand how it differs from traditional nix on MacOS or why one might want to use it
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
<peterhoeg>
Infinisil: maybe have the installPhase make a symlink to gpg2 so things will continue to work as normal?
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
dieggsy has joined #nixos
oborot has quit [(Ping timeout: 240 seconds)]
<dieggsy>
I've got this config.nix with overrides: https://git.io/v54gO however, some of the referenced packages have fetchFromGithub as a dependency and i'm getting errors
<dieggsy>
I'm not sure where to get fetchFromGithub from, I think if the original definition (not the override) had fetchFromGithub it's working, but if it did not it isn't
Fannar has quit [(Ping timeout: 240 seconds)]
<dieggsy>
note: i just started with nix today and have barely any idea what i'm doing
ryantrinkle has quit [(Ping timeout: 255 seconds)]
Fannar has joined #nixos
oborot has joined #nixos
<dieggsy>
The error is anonymous function called without argument 'fetchFromGithub' but that only happens on ones where i'm trying to add a fetchFromGithub src that wasn't there
dieggsy has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
<disasm>
not quite understanding how this error is possible... /tmp/nix-build-swift-3.1.1.drv-0/src/cmark/api_test/cplusplus.cpp:1:10: fatal error: 'cstdlib' file not found
georgiy has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
georgiy has quit [(Client Quit)]
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 252 seconds)]
faffolter has joined #nixos
leothrix has joined #nixos
ktf_ has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
ktf_ has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler opened pull request #28808: bossa: fix build with gcc6 (master...bossa) https://git.io/v54az
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] eqyiel opened pull request #28809: lftp: fix build on darwin (master...fix-lftp) https://git.io/v54aS
NixOS_GitHub has left #nixos []
kiloreux has quit [(Ping timeout: 248 seconds)]
zraexy has quit [(Ping timeout: 240 seconds)]
faffolter has quit [(Remote host closed the connection)]
pie__ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
Neo-- has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<sphalerite>
slack1256: if there aren't any build-critical variables in them beyond the buildInputs you can just do something like pkgs.runCommand "shell" {buildInputs = a.buildInputs ++ b.buildInputs;} ":"
<sphalerite>
slack1256: as for what nix-shell will accept, it's any derivation. No env attribute required.
arximboldi has joined #nixos
<simpson>
Doing updates on GCE with nixops, and `the following units failed: google-instance-setup.service`
<simpson>
Is this an important thing?
<sphalerite>
fenton: yeah, 255 is the broadcast address, which you can't assign to a machine, at least if you're using the standard netmask
zeus_ has quit [(Ping timeout: 246 seconds)]
v0lZy has joined #nixos
phreedom has joined #nixos
freeman42x[m] has joined #nixos
<hyper_ch>
why do I get that when I run "nox xxx" : warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos’ ?
<v0lZy>
"The term "name collision" refers to the nomenclature problem that occurs in computer programs when the same variable name is used for different things in two separate areas that are joined, merged, or otherwise go from occupying separate namespaces to sharing one. "
<v0lZy>
I'm utterly new to NIX... only heard about it yesterday and watching my first YT video on it :D
freeman42y[m] has joined #nixos
Guest94839 has quit [(Ping timeout: 260 seconds)]
<hyper_ch>
v0lZy: well, what does it mean in the context of nox
<hyper_ch>
maybe I should just delete the whole thing ;)
<v0lZy>
I dont know what nox is
ertes-w has joined #nixos
<hyper_ch>
nox is a program in nixos that lists intallable packages
<v0lZy>
But this kind of thing usually happens in programming if you have like an exposed variable in two units
<hyper_ch>
I use it to find the package/expression names that I need to add to my configuration nix
<hyper_ch>
I install stuff all system-wide and not user-specific since I'm the only one using the comp
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
<hyper_ch>
there's other ways too look up stuff
<v0lZy>
well
<v0lZy>
Nix expressions seem to be where the problem is
<v0lZy>
I dont know how nox works, but i imagine it looks at the config file or something to tell you what you have configured
<v0lZy>
(in that case it would I guess show stuff you havent got installed before you installed it if thats what you edited into the config...)
<v0lZy>
(of course i could be massively wrong her,e I know nothing of nix...)
<hyper_ch>
so, what do you need help with nix/os?
<v0lZy>
But if thats the case, then somewhere in your configuration you're reusing something ... that could happen if you're including files or if you simply doubled something
<v0lZy>
erm, no, just trying to help you help yourself and find the problem :D
<hyper_ch>
v0lZy: you can't provide help with nox, sorry
<v0lZy>
Yeah, I know... hence my disclaimer in the fomr of an honnest confession :D
<sphalerite>
v0lZy: what does your NIX_PATH environment variable contain?
<v0lZy>
Just suggesting that apparently nox dislikes whatever the nix expression are written, wherever they are written, because its checking for uniquness of variables... and in one case, some variables are not unique it seems and interfere with eachother in the same namespace
<sphalerite>
v0lZy: and does nix-env -qa --json > packages.json output the same message?
<sphalerite>
It doesn't sound like nox's fault to me
<v0lZy>
sphalerite: you should ask hyper_ch; I dont have nix yet.
<sphalerite>
Oh, whoops :)
<sphalerite>
The perils of chatting on a small screen :p
<v0lZy>
:D
<hyper_ch>
sphalerite: for some reason in my user ~/.nix-defexpr I do have the channels_root symlink that points to /nix/var/nix/profiles/per-user/root/channels
<v0lZy>
sphalerite: its hyper_ch thats seeing "warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos" when he runs nox xxx
<hyper_ch>
I just wonder how that ended up there
<hyper_ch>
Or I can just remove ~/.nix-defexpr
<hyper_ch>
I mean what could possibly go wrong there...
v0lZy1 has joined #nixos
<sphalerite>
hyper_ch: that's normal
<sphalerite>
the existence of that symlink, that is
<hyper_ch>
:)
<sphalerite>
so does nix-env -qa --json > /tmp/packages.json work?
<hyper_ch>
v0lZy: so, anything you need to know?
<hyper_ch>
sphalerite: as root or user?
<v0lZy1>
hyper_ch: Not at this very moment, thanks.
<sphalerite>
as user
<hyper_ch>
ix-env -qa --json > /tmp/packages.json
<hyper_ch>
warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos’
v0lZy has quit [(Ping timeout: 240 seconds)]
v0lZy1 is now known as v0lZy
<sphalerite>
right, so it's not nox's fault :)
<v0lZy>
hyper_ch: I used to have gobolinux installed a very long time ago... I liked the way how the filesystem was the package db in itself and how you could have multiple versions of software and libraries side by side
<hyper_ch>
sphalerite: hmm, ok
<v0lZy>
hyper_ch: and a friend told me nix has gotten more traction and does similar
<hyper_ch>
never heard of gobolinux
<v0lZy>
So I thought I'd look into it ... glad to see the community's well populated :D
<sphalerite>
v0lZy: nix is even better ;)
<hyper_ch>
nix has its issues as well...
sigmundv__ has joined #nixos
<sphalerite>
doesn't stop it from being awesome :p
<v0lZy>
hyper_ch: it was a distro based on gentoo which used a kernel module to hide the /dev /lib /var etc stuff and make it pretty like /Programs /Users /Config etc
<hyper_ch>
sphalerite: btw, with dconf installed, the "folder first" option is now permanently stored
<sphalerite>
excellent!
<hyper_ch>
I've heard of gentoo before
<v0lZy>
gobo didnt really have any issues as far as im concerned, other than the fact that it didnt gather much crowd and died off
<v0lZy>
It didnt really give me any problems.
<v0lZy>
(but hard to do that with minimal amount of packages anyway :D)
<v0lZy>
(and not many updates :D)
JosW has joined #nixos
<v0lZy>
So yeah, liked gobo back then, am here now to see if its worth switching over from arch
<v0lZy>
I mainly need linux for virtualisation and filesharing
betaboon has joined #nixos
<hyper_ch>
globo isn't dead
<sphalerite>
but yes, the main issues with nix/nixos I'd say are A, documentation. There's lots of it but it's not easy to find what you're looking for; B, software support. There's so much software which makes (bad!) assumptions which nix's model breaks and needs wrapping/patching/stuff to make it work
<v0lZy>
its dead-ish :D
arximboldi has quit [(Quit: arximboldi)]
<hyper_ch>
last update in april 2017
<hyper_ch>
according to the homepage
<sphalerite>
yeah, I'm really impressed with how much software is packaged for nix given the community size
<v0lZy>
hyper_ch: check the frequency
<hyper_ch>
very different
<hyper_ch>
there was nothing between 2015-02-27 and 2016-07-31
<v0lZy>
:D
<hyper_ch>
but then almost monthly
<v0lZy>
my point exactly
<sphalerite>
Which I think suggests that packaging software with nix is fairly easy
<sphalerite>
oh wow, gobo is old as well
<sphalerite>
older than nix
<hyper_ch>
I even managed to pack my shell script into a nix expression
<hyper_ch>
finally I can confortable handly pdfs in kde again :)
<hyper_ch>
s/handly/handle/
<v0lZy>
gobo's old, aye
<hyper_ch>
2002
<v0lZy>
It was a cool idea
<v0lZy>
but the linux world back then was dominated by traditionalists..
<v0lZy>
systemd might have pushed thos einto the corner a bit :D
<hyper_ch>
I still wonder if systemd is worth it
<hyper_ch>
it does have some nice features though
<hyper_ch>
sphalerite: you use kde?
<v0lZy>
If i understand corectly, that basically allows you to take a nix iso boot it, copy paste the config file, install it and you're up and running exactly like you are... minus any saved data.
civodul has joined #nixos
<sphalerite>
v0lZy: yep
<v0lZy>
hyper_ch: I think its a good idea to increase linux user base
<v0lZy>
hyper_ch: but in terms of flexibility, probably not
<sphalerite>
hyper_ch: only a little bit, mostly i3
<v0lZy>
stuff that was previously scriptable now requires programming and compiling etc..
<sphalerite>
hyper_ch: I don't see how systemd is supposed to be inflexible
<hyper_ch>
v0lZy: pretty much but there's some caveats... e.g. I just can't manage to get vbox with extension pack installed on fresh installation
<v0lZy>
why bother with vbox?
<hyper_ch>
for some reason I first have to install virtualbox and once all is installed, then I can enhance to vbox extensions
<hyper_ch>
v0lZy: becasue I like it
<v0lZy>
hyper_ch: qemu/kvm + libvirt
<hyper_ch>
v0lZy: good luck with qemu/kvm on windows
pxc has joined #nixos
<v0lZy>
hyper_ch: ah, you need to move the machines around?
<hyper_ch>
yes
<v0lZy>
virtualbox's is good for that then, yeah
<hyper_ch>
# Enable KVM/Qemu
<hyper_ch>
virtualisation.libvirtd = {
<hyper_ch>
enable = true;
<hyper_ch>
enableKVM = true;
<hyper_ch>
};
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v54SN
<v0lZy>
hyper_ch: how is nix linked to configuring options for each software package... isthere some kind of mapping file that translates nix statements such that they are appropriately wirtten into the config files of whatever the softwware?
<hyper_ch>
v0lZy: it just uses some kind of magic :) (no idea really.... I just use it)
<v0lZy>
:D
<hyper_ch>
probably some advanced form of automagic
<v0lZy>
Mostly configs are key value pairs
<v0lZy>
but
freeman42x[m] has joined #nixos
<v0lZy>
you've got stuff like i dont know, DRBD which has groups and then groups have key value pairs
<sphalerite>
v0lZy: there's a modules system which eventually boils down to writing some files and some scripts
<v0lZy>
I see
<v0lZy>
so basically you declare what.whatever.maps.to = mykeyinthisinthisfile, modified by this and this function that takes this and this input
<v0lZy>
?
<sphalerite>
v0lZy: there are high-level options like virtualisation.libvirtd.enable, and lower-level options like systemd.services or environment.etc (which lets you put specific stuff in /etc)
MP2E has quit [(Quit: sleep)]
<sphalerite>
v0lZy: it's more like there's a bunch of modules -- each module is a function that takes config and nixpkgs as arguments, and returns an attribute set (or hash map or dictionary or whatever terminology you prefer -- the preferred nix term is attribute set, or just set) of options
<v0lZy>
that bit I understand
<sphalerite>
these sets all get merged together to make "the system"
freeman42y[m] has quit [(Ping timeout: 246 seconds)]
<sphalerite>
and your configuration is just another module really
betaboon has quit [(Quit: This computer has gone to sleep)]
<v0lZy>
Im just unclear as to say how you can use nix expressiosn to say toggle options in /etc/ssh/sshd.conf
dywedir has joined #nixos
<v0lZy>
I mean i'd understand if you had a file and told nix to copy it over.
<v0lZy>
but nix seems to have its own key-value pairs.
thc202 has joined #nixos
<v0lZy>
and im wondering how that works... I mean i get that system.ssh.sshd.conf.key=value or whatever...
atondwal has joined #nixos
<v0lZy>
just wondering how it works for stuff thats more complex
<atondwal>
does nix-copy-closure just not work?
<atondwal>
I get a complaint about imported archive lacks a signture
<atondwal>
(and if I try it with --sign I get a complaint about openssl failed with exit code 1)
griff_ has joined #nixos
<sphalerite>
atondwal: because you're importing realised derivation as is, you either need to have a signature trusted by the target machine on the archive, or import it as root
<sphalerite>
v0lZy: more complex like?
<hyper_ch>
is it just me or is the new options.html way less informative than the old one?
<hyper_ch>
the old one listed just about any setting you could set
<v0lZy>
sphalerite: well, take DRBD for example ... you basically have to configure a grouping, then within that grouping you have key value pairs
<v0lZy>
the groupings themselves are kind of like values without a key
<atondwal>
sphalerite: how do I make the signature trusted?
<sphalerite>
v0lZy: there tend to be extraConfig options that allow you to just write config file text that will get included verbatim.
<v0lZy>
group_name { key:pair, key:pair, key:pair } for example..
<hyper_ch>
now when I search e.g. for virtualbox, it doesn't show enableExtensionPack
<v0lZy>
ah, ok
<sphalerite>
v0lZy: but when there's structure which can be represented by nix types (which it almost universally can), that's preferred
<v0lZy>
sphalerite: does it allow you to just drop a config file in ... like from XML or something.. that would be neat... pfSense for examle stores everything in the .xml file
<atondwal>
sphalerite: ah, nevermind I just did it as root
<sphalerite>
atondwal: I don't know anything about signing it really, using root is the easier option
<sphalerite>
:)
<v0lZy>
would be cool if you could have a single xml file, where each xml section would represent a config file
* hyper_ch
still doesn't understand the hype around xml...
<v0lZy>
and you'd configure it verbatim... the way you wanted... or yeha, I guess you can already do that if you copy paste the entire config file into the extraConfig :D
<sphalerite>
hyper_ch: new options.html?
<sphalerite>
I don't see it
<hyper_ch>
sphalerite: the page you posted.. that's way different from what it was in the past
<hyper_ch>
I thought that got replaced with the other one
<atondwal>
now that I've copied the closure, how do I install the package that I closed around?
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<sphalerite>
atondwal: I think you can just do nix-env -i /nix/store/...-package
griff_ has quit [(Ping timeout: 248 seconds)]
<atondwal>
sphalerite: sweet, that worked! thanks
<mpickering>
Is there an option I can pass to nix-build which stops it looking at web caches but still uses the local cache?
deltasquared has joined #nixos
<sphalerite>
mpickering: --option use-binary-caches false I think
goibhniu has joined #nixos
<hyper_ch>
v0lZy: so, you have nixos installed already? :)
<otwieracz>
Is there any official support for NixOS on SmartOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] wizzup opened pull request #28813: nodePackages.live-server : init at 1.2.0 (master...add/nodePackages.live-server) https://git.io/v54QX
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] atondwal opened pull request #1547: manual: import needs root or trusted signature (master...patch-1) https://git.io/v54QD
NixOS_GitHub has left #nixos []
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] loskutov opened pull request #28814: grml-zsh-config: generalize support to unix systems (master...grml-zsh-unix) https://git.io/v5478
<sphalerite>
otwieracz: it appears to support VMs so you should be able to just run the OVA or something? I don't know anything about smartos and there certainly isn't any official support for it, but it might well work
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
kimbo_ has joined #nixos
<betaboon>
hello #nixos. i have a question about PRs: if i want to provide a package (eg. marshmallow-sqlalchemy) which depends on another package (eg. sqlalchemy) and both are not yet available in nixpkgs, do i open ONE PR containing both packages as seperate commits, or do i open TWO PRs ?
takle has joined #nixos
kimbo has quit [(Ping timeout: 255 seconds)]
arximboldi has joined #nixos
ixxiie has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/v54bR
<NixOS_GitHub>
nix/master c9857ef Sergei Trofimovich: src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26...
<92AABTB1Q>
[nixpkgs] Mic92 closed pull request #28814: grml-zsh-config: generalize support to unix systems (master...grml-zsh-unix) https://git.io/v5478
92AABTB1Q has left #nixos []
freeman42x[m] has joined #nixos
freeman42y[m] has quit [(Ping timeout: 248 seconds)]
thblt has joined #nixos
elurin has joined #nixos
<Olgierd>
hi, how do I install libc and stdc++ manpages?
vaibhavsagar_ has joined #nixos
vaibhavsagar__ has quit [(Read error: Connection reset by peer)]
<Olgierd>
nix-env -i man-pages does not work, ie. there is still no manpage for dlopen for example
jellowj has quit [(Ping timeout: 260 seconds)]
<Olgierd>
or for stdio.h
<thblt>
Olgierd: I have man dlopen in man-pages.
pie__ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<thblt>
same for stdio
<Olgierd>
hm
<Olgierd>
ok, it has to be man stdio, not stdio.h
<thblt>
For C++, it's std-man-pages I think
<Olgierd>
thx
<Mic92>
Olgierd: there is no explicit stdc++, clang/gcc will no, where to find it.
jellowj has joined #nixos
<Mic92>
Olgierd: forgot, what I said, my brain silently discarded the manpages part.
Wizek has joined #nixos
<sphalerite>
hyper_ch: if you just need a live system with no data persistence it's pretty easy to build a customised nixos image from a nixos configuration of your choice
<lewo>
Hi, i'm trying to propagate the http_proxy env variable from the calling user to the builder environment but I'm not able to get this variable in the buildPhase. I defined the impureEnvVars attribute in the derivation. In the buildPhase environment, I only see the environment variable 'impureEnvVars'. Did I miss something?
<sphalerite>
hyper_ch: if you want persistent data it's a little bit more complicated, I don't know how to do it for BIOS systems but for EFI I managed to get something working a while back and I can help you with that if you're interested
<lewo>
Should it work with user defined buildPhase?
FRidh has joined #nixos
<sphalerite>
lewo: I think it should, don't know why it wouldn't
simukis has joined #nixos
mguex has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
arximboldi has quit [(Quit: arximboldi)]
freeman42y[m] has joined #nixos
ison111 has quit [(Ping timeout: 248 seconds)]
freeman42x[m] has quit [(Read error: Connection reset by peer)]
freeman42x[m] has joined #nixos
griff_ has joined #nixos
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<ixxiie>
this happened without a configuration change, which kinda makes sense because older generations are effected
<gchristensen>
sphalerite: ping? what exactly was the error you saw around booting?
<gchristensen>
your wrappers seem ... safe ... not sure what happened ...
<sphalerite>
gchristensen: for the nvidia thing?
<gchristensen>
sphalerite: didn't your computer stop booting yesterday?
<sphalerite>
oh yeah, that was because I was fiddling with the nvidia stuff and everything ended up locking up in the middle of a rebuild
<sphalerite>
as a result, the kernel and initrd ended up not getting written to disk
<grahamc>
Oh. Bummer :)
<sphalerite>
Unsurprisingly, systemd-boot was not keen on booting empty files :)
<gchristensen>
ixxiie: looking...
<ixxiie>
thanks
<ixxiie>
I think my issue is also with the boot sector or something
<sphalerite>
ixxiie: any particular reason not to add nixos-config=/my/config/directory to NIX_PATH, rather than always copying the files?
<ben>
Huh
<sphalerite>
you may also want to do clean-system before update-system, so it doesn't generate boot entries for older systems which you then go on to delete
<ben>
I just symlinked /etc/nixos to /my/config/directory
<sphalerite>
or that!
Piece_Maker has joined #nixos
<ixxiie>
sphalerite: I like opening my configuration files in an editor as my non-root user
<betaboon>
did anyone see my question regarding PRs and has an answer for me ?
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
<ben>
ixxiie: nixos-rebuild will happily accept files owned by a non-root user
<sphalerite>
ixxiie: you could even chown /etc/nixos to your user for that purpose
<ixxiie>
okay
<ixxiie>
good to know
<sphalerite>
betaboon: I'd put it in a single PR personally. Both ways are acceptable I'm sure
<gchristensen>
but sqlalchemy is definitely in nixpkgs betaboon
<betaboon>
gchristensen: just an example ;)
<ixxiie>
I was thinking that my approach would be nice if eventually I take my tools over to a system with multiple sudoers
<gchristensen>
ok :)
<gchristensen>
ixxiie: can you paste your hardware-configuration.nix?
<ixxiie>
yeah, hold on - ill put it in the issue
NightTrain has joined #nixos
<sphalerite>
gchristensen: also I tried debian on a USB stick with nvidia/bumblebee. Same lockup issue... Maybe there's a hardware difference between our machines
<gchristensen>
:/
<sphalerite>
Might see if it also occurs with Fedora because they tend to be bleeding-edge, and Ubuntu because it's supported by Dell for some other machines
<ixxiie>
okay gchristensen - I added it on the issue thread
<gchristensen>
ixxiie: ok, is /boot mounted?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/v5BUl
<NixOS_GitHub>
nixpkgs/master 52eb0e0 Gabriel Ebner: gnome3.dconf-editor: include gsettings_desktop_schemas
NixOS_GitHub has left #nixos []
<ixxiie>
seems to be gchristensen, I can find it just find in my file browser
<betaboon>
sphalerite: how about a service and its dependencies? 1PR or seperate PRs ? XD
<sphalerite>
I'd also put that in one
<gchristensen>
ixxiie: sometimes it gets created when it is unmounted :) paste the output of `mount`, or: curl -F 'f:1=<-' ix.io
<gchristensen>
mount | curl -F 'f:1=<-' ix.io
<sphalerite>
it just kind of sucks to manage interdependent PRs
<gchristensen>
"/dev/nvme0n1p1 on /boot type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)"
<betaboon>
sphalerite: thanks for the opinion :)
<ixxiie>
gchristensen: which means? xD
<sphalerite>
it's mounted read-only
<gchristensen>
ixxiie: does this show anything: dmesg | grep nvme0n1p1
<gchristensen>
ixxiie: its mounted read only, and probably because of errors :) `errors=remount-ro`
<ixxiie>
sounds kinky but needs to be removed I presume
<woffs>
never hat linux boot on vfat
<woffs>
had
phreedom has quit [(Ping timeout: 252 seconds)]
<gchristensen>
EFI has to be vfat I think?
<ixxiie>
yeah
<ixxiie>
it does
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm opened pull request #28818: terraform providers list (master...terraform-update-all) https://git.io/v5BUA
NixOS_GitHub has left #nixos []
<ixxiie>
gchristensen: I followed recommended corrections
<ixxiie>
now I remount /boot?
<gchristensen>
yep
takle has joined #nixos
<gchristensen>
and then you should be good to go
<ixxiie>
wooot
<ixxiie>
thank you so much gchristensen
<ixxiie>
saved the day again
<gchristensen>
<3 you're welcome, I'm glad to help :)
<gchristensen>
ixxiie: and I'm glad it is working! can you summarize your problem, how we diagnosed it, and how you solved it on that issue, then close it?
iyzsong has joined #nixos
<ixxiie>
was just about to do this
<ixxiie>
:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthiasbeyer opened pull request #28819: svgbobrus: init at 2017-08-29 (master...package-svgbobrus) https://git.io/v5BTB
NixOS_GitHub has left #nixos []
<gchristensen>
<3
griff_ has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
phreedom has joined #nixos
freeman42y[m] has joined #nixos
dannyg has joined #nixos
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
freeman42x[m] has joined #nixos
<Mic92>
Sometimes I wish the issue tracker would be more organized like StackOverflow, when common questions are answered
<ixxiie>
gchristensen: any idea what I could have done to cause this in the first place?
<ixxiie>
you seem to think its not my scripts
<ixxiie>
one thing that happened (and happens often in my system) is the rebuild blackscreened, and it could be I too quickly went for the hard reboot in the middle of an operation
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<gchristensen>
that would set the dirty bit :)
<ixxiie>
alrighty
<ixxiie>
I wrote it all up now
<ixxiie>
I wonder if theres a way to reduce the blackscreening in rebuilds
<ixxiie>
Its not supposed to happen so often right?
<gchristensen>
I've never seen that happen :?
<gchristensen>
which I think answers your question
erictapen has joined #nixos
<ixxiie>
yeah
<ixxiie>
I guess I should start an issue
<michalrus>
Hey, I see in journalctl, that GDM is trying to start using Wayland, and fails.
<michalrus>
How can I switch back to Xorg?
<michalrus>
(On 17.03)
pxc has joined #nixos
freeman42x has quit [(Ping timeout: 264 seconds)]
cheshircat has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
faffolter has quit [(Remote host closed the connection)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
ciil has joined #nixos
takle has joined #nixos
<joepie91>
gchristensen: if you happen to see ixxiie again, should probably tell them to do a verify/repair on their store; it's possible that something in there is making things blackscreen
<gchristensen>
good choice
takle_ has quit [(Ping timeout: 248 seconds)]
<joepie91>
I had some /really/ weird rebuild issues that were caused by that
<joepie91>
not blackscreens, but services breaking and such
<joepie91>
had to do with my GPU writing junk to my RAM
<joepie91>
which broke a build process at one time
freeman42z[m] has quit [(Ping timeout: 248 seconds)]
takle has quit [(Read error: Connection reset by peer)]
ixxie has joined #nixos
<betaboon>
sphalerite: I'm just preparing several PRs (as you might have already picked up). now I'm feeling stupid preparing individual PRs for several python-packages. is it accepted practice to create a single PR for a collection of pythonPackages ?
Jackneilll has joined #nixos
<gchristensen>
betaboon: it is easier to review & merge PRs with just one
takle has joined #nixos
<betaboon>
gchristensen: thats what i thought :D
<Mic92>
betaboon: if they are trivial, one pr might be ok
<betaboon>
still trying to pickup your contribution-culture
Jackneill has quit [(Ping timeout: 240 seconds)]
<simpson>
betaboon: Indeed, if you are adding one package but have to craft several expressions, it is accepted practice to introduce all of the commits in a single PR.
<Mic92>
betaboon: here for example having multiple packages is ok: https://github.com/NixOS/nixpkgs/pull/28793 however if you update python packages, which trigger lots of rebuild, it is better not to put to many into one.
<betaboon>
i think i will go with the following practice for now: one PR for each pythonPackage that is not a dependency of a package in the PR. multiple pythonPackages in a single PR only if they are direct dependencies of a package in the PR. sounds acceptable ?
<simpson>
Sure.
bbarker has joined #nixos
<betaboon>
i prefer having small, mantra-like instructions in my head XD
<bbarker>
This is probably not a nixos-specific question, but how is systemd started on nixos (e.g., is it specified in a grub config file somewhere?)
<ixxie>
betaboon: the make it this: 'make thy PRs closed under depedency.'
<betaboon>
ixxie: that's pretty much what is in my head now xD
<gchristensen>
ixxie: joepie91 had the good recommendation of doing a nix-store --verify --check-contents
<bbarker>
@gchristensen thanks!
<gchristensen>
bbarker: you're welcome, good luck :)
<ixxie>
gchristensen: in the context of my issue earlier?
<gchristensen>
ixxie: yeah, the black-screening
<ixxie>
aah cool
<ixxie>
okay running it now
sellout- has quit [(Quit: Leaving.)]
<goibhniu>
ixxie: BTW, I noticed a typo in your config ... kvm_intel
<Infinisil>
The program I'm currently packaging has all of its dependencies as git submodules
<Infinisil>
Not sure what to think of that regarding nix interaction
<ixxie>
goibhniu: well that explains a lot
<ixxie>
goibhniu: I actually recently removed it just because it didn't seem to work
<ixxie>
its weird that it built at all
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
romildo has joined #nixos
gnuhurd has joined #nixos
<romildo>
What is the difference between (stdenv.lib.getLib gnome3.dconf) and gnome3.dconf.lib? Some nix expressions use the first, and others use the later.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<joepie91>
seems getLib is a more robust implementation
<joepie91>
with fallback if there is no .lib and such
<ixxie>
gchristensen, joepie91 - nix-store --verify --check-contents didn't really yield anything; does it normally say something when it catches an error?
<joepie91>
ixxie: yeah, it'll yell at you if something's wrong
<joepie91>
romildo: from what I can see, yes, I think that's what you're supposed to use. I can't speak authoratively, though :0
<joepie91>
:) *
takle has joined #nixos
goibhniu1 is now known as goibhniu
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28829: pythonPackages.aioamqp: init at 0.10.0 (master...pr-aioamqp) https://git.io/v5BlX
NixOS_GitHub has left #nixos []
dywedir has quit [(Remote host closed the connection)]
freeman42x has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28830: pythonPackages.asana: init at 0.6.2 (master...pr-asana) https://git.io/v5Blj
NixOS_GitHub has left #nixos []
dieggsy has joined #nixos
freeman42y has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28831: pythonPackages.diff-match-patch: init at 20121119 (master...pr-diff-match-patch) https://git.io/v5B8C
NixOS_GitHub has left #nixos []
dannyg has quit [(Quit: dannyg)]
phdoerfler has joined #nixos
phdoerfler has quit [(Client Quit)]
<hodapp>
what's a good way of writing expressions for something like https://github.com/tensorflow/models which is a single git repo that has a variety of modules inside?
erictapen has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28832: pythonPackages.django-ipware: init at 1.1.6 (master...pr-django-ipware) https://git.io/v5B8V
NixOS_GitHub has left #nixos []
freeman42x has quit [(Ping timeout: 252 seconds)]
nslqqq has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28834: pythonPackages.django-jinja: init at 2.2.2 (master...pr-django-jinja) https://git.io/v5B4I
<hodapp>
I stuck distinctive 'echo' statements in postPatch, and I definitely don't see them anywhere when I try to build this expression, based on buildPythonPackage... any hints on what's going on here?
<NixOS_GitHub>
[nixpkgs] danielfullmer opened pull request #28855: john: workaroud for build failure (master...john-compile-fix) https://git.io/v5Ba5
NixOS_GitHub has left #nixos []
<goibhniu>
dieggsy: you can either use nix-shell and run each phase manually, or use nix-build and stick in an "exit 1" where you want it to stop
<hodapp>
clever: oh. thanks.
<clever>
hodapp: and also, the line 52 alone sets it to an empty string, causing the same issue (in the false case)
Neo-- has quit [(Ping timeout: 240 seconds)]
<dieggsy>
goibhniu: ah. I've only ever done nix-shell -
<dieggsy>
nix-shell -p
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #28856: gnome3.at-spi2-core: fix service not found error (master...at-spi2-core) https://git.io/v5BV9
LysergicDreams has quit [(Ping timeout: 240 seconds)]
<hodapp>
are there any packages in nixpkgs I can look at which do a "normal" build, but starting from a subdirectory of the repo they check out?
<disasm>
hodapp: I don't know if it's the best way to go, but I've seen a number of packages I've been fixing for gcc6 build compatibility that have a cd to the starting dir in the configure phase
LysergicDreams has joined #nixos
<sphalerite>
hodapp: not sure of any examples but you can just do src = "${src}/subdir"; if you bind src to a name with let
<sphalerite>
oh yeah, but that only works in cases where the fetcher produces a directory and not a tarball
arximboldi has quit [(Quit: arximboldi)]
<sphalerite>
otherwise I'd put cd subdir in postUnpack or postPatch (depending on whether you have any patches and where they want to be applied from)
Neo-- has quit [(Ping timeout: 252 seconds)]
digitus has joined #nixos
<disasm>
I like sphalerite's suggestion much better :)
<sphalerite>
as disasm said
<disasm>
configurePhase is a horrible spot
<disasm>
and some of them just change the buildPhase to make -C <dir> as well :)
ixxie has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
<hodapp>
I always screw this up; what can I actually 'cd' to from postUnpack?
<disasm>
hodapp: the subdirectory you want to start the build in
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v5BKl
<NixOS_GitHub>
nixpkgs/master 7f99876 aszlig: conky: Don't enable nvidiaSupport by default...
NixOS_GitHub has left #nixos []
<hodapp>
oh, I just needed to prepend $src to it or something
<hodapp>
but then I'm just getting "/nix/store/8x163pkhv83frdh1ng9sdkq2b9nvspg6-findutils-4.6.0/bin/find: 'models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src': No such file or directory" after the note of where the sourceRoot is
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5BKD
<NixOS_GitHub>
nixpkgs/master 86587ea wisut hantanong: nodePackages.live-server : init at 1.2.0...
<sphalerite>
hodapp: you shouldn't need to orepwnd anything to it
<hodapp>
orepwnd?
<sphalerite>
UnpackPhase is meant to copy all the source stuff to the working directory
erictapen has quit [(Ping timeout: 248 seconds)]
nh2 has quit [(Ping timeout: 252 seconds)]
<sphalerite>
Ignore typos, I'm on my phone now :p
<hodapp>
it starts me out one directory above $src, from what I can tell
aneeshusa has joined #nixos
leat has joined #nixos
<hodapp>
so I just get "/nix/store/qjm9lnz6rag5dilyv39li8kxvflz4awa-stdenv/setup: line 73: cd: slim: No such file or directory" if I try to 'cd' normally
<hodapp>
'slim' doesn't exist relative to working directory, $src/slim does
<hodapp>
but I have to run, I'll look at this later
<sphalerite>
It should be in /tmp/nix-build-stuff
<sphalerite>
Try pwd and ls to check
djbeau has quit [(Ping timeout: 248 seconds)]
<Infinisil>
$src is a read-only directory where the unmodified src from the attributes is. $sourceRoot is a writable copy of that (somewhere is /tmp)
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
aneeshusa has quit [(Quit: WeeChat 1.9)]
jellowj has quit [(Ping timeout: 240 seconds)]
civodul has quit [(Remote host closed the connection)]
<ixxie>
sphalerite: oh so you were just squashing stuff together there
<ixxie>
sphalerite: do you know who dyrnade is on IRC?
<sphalerite>
well I started doing the gnome upgrade but didn't finish it
<sphalerite>
nope sorry
<teozkr>
gchristensen: not right now :/
<gchristensen>
teozkr: no worries! can ping me when you have a bit of time?
* dtzWill
wonders if we can/should have (optional?) github <-> irc mapping in maintainers.nix
<teozkr>
sure
<gchristensen>
thank you!
endformationage has joined #nixos
<ixxie>
thanks anyway sphalerite
<dtzWill>
since folks seem active-ish--should 17.09's manual still mention grsecurity at any length other than perhaps a note saying why it's not supported? We currently have such a note but the rest of it seems like it should be culled?
phdoerfler has quit [(Quit: Leaving.)]
<dtzWill>
if that sounds good I can file an issue on the subject or something but wasn't sure if there was a reason to keep it
<gchristensen>
dtzWill: how much else does it say? probably should go
iyzsong has quit [(Ping timeout: 252 seconds)]
sary has joined #nixos
<mfiano>
Hello. I'm debating on giving NixOS another try. It was very unstable a year ago preventing me from building a system.
<dtzWill>
oh maybe I'm building it wrong, will look into that before filing issue :)
<maurer>
Hey, anyone have reccomendations for a markdown editor with github-compatible preview that is in nixpkgs?
<maurer>
The first one I tried has a bunch of hardcoded paths, and the second one is closed source
<maurer>
(and so it'd be a pita to package either)
<maurer>
(amusingly, the second one has the audacity to sport a GPLv3 LICENSE, and then note in the README that he's keeping the source closed until 1.0)
<dtzWill>
o_O
<LnL>
lol
<ixxie>
maurer: VSCode
<maurer>
I mean, I'm not super interested in either of these tools though, I just want to be able to see how my attempts at github markdown will look before pushing
m0rphism has quit [(Quit: WeeChat 1.9)]
<maurer>
ixxie: Oh, really? I'll check it out
<ixxie>
maurer: apparently ctrl+shift+V gives you a preview
<maurer>
ixxie: Does it say somewhere that it's the github flavour?
<ixxie>
but the syntax highlighting (which already is kinda a preview) is enough for me normally
<ixxie>
maurer: I don't think they different *that* much
<maurer>
"No, VS Code targets the CommonMark Markdown specification using the markdown-it library. GitHub is moving toward the CommonMark specification which you can read about in this update."
<maurer>
Eh, I guess it's close enough for now
pie_ has quit [(Remote host closed the connection)]
<maurer>
I've been bitten by "github does it differently" in the past
<maurer>
which is why I was looking for one that previewed github-markdown
<dtz>
i recently discovered nixos-container and was @.@ surprised at how awesome it is
<dtz>
i was || <-- this close to making something similar (but worse :P, and I'm sure using the same underlying hard work that makes nixos-container possible) for some benchmarking
<dtz>
but was like oh yay now I can just point this at my tree and say "make me a memcached container" and away it goes haha
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5B72
<NixOS_GitHub>
[nixpkgs] betaboon opened pull request #28861: A Collection of new python packages (master...pr-betaboon-pythonpackages) https://git.io/v5B5m
NixOS_GitHub has left #nixos []
<dtzWill>
nix's awesomeness provides for all needs yet again, lol
<lowski>
I'm trying to create default.nix file that I could use with nix-shell for my Rails app. I would like to use Ruby version which is not in the packages. I came up with something like this https://gist.github.com/lowski/9391734b78cf319e04613a1b9f704563 but it does not work. Anyone eager to help?
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<hyper_ch>
is there actually any limit how big github repos can be?
<tnks>
So I'm perhaps going down an ill-advised path of trying to put a pure-Nix environment in Docker... from "scratch"
<ikwildrpepper>
... This limit is easy to stay within if large files are kept out of the repository. If your repository exceeds 1GB, you might receive a polite email from GitHub Support requesting that you reduce the size of the repository to bring it back down. In addition, we place a strict limit of files exceeding 100 MB in size....
<tnks>
I have a fallback of doing what everyone does and rely on a base installation of something like Alpine for configuration files.
<tnks>
But I thought I'd try this way out first and see how it works... though I'm now recreating some of the stuff NixOS does, so I'd appreciate some advice on how NixOS does things, since I mostly just understand Nix.
nslqqq has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
<tnks>
The problem I have right now is fc-cache is looking for /etc/fonts/fonts.conf
<tnks>
and NixOS creates a symlink, but I'm curious if there's a function I can call to do what NixOS does to set up these links.
<tnks>
I was hoping 'nix-env -i fontconfig' would give me the etc files, but there's a difference between fontconfig-2.12.1-bin and fontconfig-2.12.1
<gchristensen>
nixpkgs: 625M ... not bad
<mfiano>
are all the commented lines in the generated configuration.nix file defaults? or only the declarations i explicitly uncomment are used?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5Bb1
<bbarker>
gchristensen - do you happen to know which of the commands in the stage-x-init.sh files actually creates /run/current-system? Looking at the vm image while it is shutdown, nothing is under `/run`, which I guess makes sense
<gchristensen>
the activation script
<bbarker>
ok
<gchristensen>
stagex calls the generation's 'activate' (see: /run/current-system/activate), which has ln -sfn "$(readlink -f "$systemConfig")" /run/current-system
<mguex>
samba is out of date...
<Infinisil>
A lot of stuff in nixpkgs is out of date :P
nh2 has joined #nixos
<gchristensen>
mguex: can you send a PR?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5BAU
<mfiano>
Why isit pulling in all these things I don't declare in my config?
bennofs has joined #nixos
<hodapp>
sphalerite: okay, back to looking at this 'how to build in a subdir of the repo' problem
<hodapp>
I am not sure what I should be doing differently if I'm to just 'cd' to the directory from postUnpack
<Infinisil>
hodapp: What's your current problem?
faffolter has joined #nixos
<hodapp>
Infinisil: I'm trying to run a normal build but from a subdirectory of the repo. He recommended a couple things, one of which was just 'cd subdir' in postUnpack
<hodapp>
it's a Python package, btw - has a setup.py that should work fine
<hodapp>
'cd subdir' fails, as there is no such directory from the working directory it starts from
<Infinisil>
hodapp: mkdir?
<mfiano>
Where is the support channel?
<hodapp>
Infinisil: I need to enter a subdirectory, not create one
<hodapp>
that build is in that subdir
<hodapp>
rather, the thing that I need to build
<Infinisil>
mfiano: Can you show your config? And did you rebuild with nixos-rebuild?
<hodapp>
not at the repo's root
<Infinisil>
hodapp: Hmm, if you clone it yourself it works?
<mfiano>
Infinisil: This is an initial build. I am following the manual, and using nixos-install. It is puling in a multitude of packages I don't care about such as xscreensaver, various fonts, etc.
<mfiano>
Also grub failed to install
<hodapp>
Infinisil: the errors aren't from the build, they appear to be from different Nix build steps failing because it's not in the right directory
freeman42x[m] has joined #nixos
<hodapp>
It starts me out in /tmp/nix-build-python3.5-tf_slim-09a32f32.drv-0, models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src is in that directory, and the subdirectory 'slim' is inside of that - and that's where I need to start from
<Infinisil>
mfiano: I see, what's your config?
<mfiano>
I am not so sure how I am going to show my config, as I am in a tty in a virtual machine.
<Infinisil>
mfiano: Ah
<hodapp>
if I put 'cd $sourceRoot/slim' in postUnpack, I get: /nix/store/8x163pkhv83frdh1ng9sdkq2b9nvspg6-findutils-4.6.0/bin/find: 'models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src': No such file or directory
<mfiano>
It's basically what generated automatically, and me uncommenting the grub device and xserver service. nothing more
<Infinisil>
hodapp: Oh I might've had that before, try preConfigure instead
<Infinisil>
mfiano: Why are you uncommenting the grub device?
faffolter has quit [(Remote host closed the connection)]
<mfiano>
It told me it is required to be set
<mfiano>
The manual that is
<Infinisil>
Ah
<dtz>
or if you want patches I think you need to do something like postUnpack = ''sourceRoot=$sourceRoot/slim"
<dtz>
because it wants to 'cd' into sourceRoot after unpack
<Infinisil>
That could work ^^
<hodapp>
Infinisil: using preConfigure seems to have worked
<dtz>
and, apparently, run 'find' on it or something lol
<mguex>
gchristensen: probably yeah
<mguex>
first I need to get this PR out
<dtz>
yeah, many paths, not sure mine's necessarily better. There's a setSourceRoot or something IIRC? dunno
vaibhavsagar_ has quit [(Ping timeout: 248 seconds)]
<symphorien>
mfiano: @xscreensaver: nix-store --query --referer-closure /nix/store/xxxxxxx-xscreensaver will tell you what depends on xscreensaver
<Infinisil>
mfiano: Regarding your question: "Why is it pulling in all these things I don't declare in my config": Packages sometimes have many dependencies and aren't set up to exclude all unnecessary ones in certain scenarios
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
<mfiano>
I want to build a very minimal system with Xorg. I also want grub to install successfully. What are my options?
<Infinisil>
mfiano: Generally nix builds a superset of what's needed
<mfiano>
Ok, I am following the manual and I haven't got a system to build successfully yet. When I do I will look into that.
<Infinisil>
mfiano: Have you mounted your boot partition to /mnt/boot?
lowski has quit [(Ping timeout: 260 seconds)]
<mfiano>
I have no boot partition. I only have a root partition as I am following the install instructions.
<Infinisil>
Ah right, a boot partition isn't necesarrily needed with BIOS booting
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5BxS
<NixOS_GitHub>
nixpkgs/master 189797c Joachim F: Merge pull request #28840 from romildo/upd.uget...
NixOS_GitHub has left #nixos []
<Infinisil>
mfiano: What's the error you're getting?
<disasm>
lowski: inheritc -> inherit
<mfiano>
GRUB can only be installed in this setup by using blocklists.
<clever>
mfiano: do you want efi or legacy booting?
m0rphism has joined #nixos
<mfiano>
legacy.
<clever>
mfiano: on gpt?
<mfiano>
Yes
vaibhavsagar_ has joined #nixos
<clever>
mfiano: you must create a bios boot partition, 1 mb, no fs, never mounted
<mfiano>
Ok
<clever>
grub.device should still be set to the root of the device (like "/dev/sda") not the bios boot partition
Ivanych has quit [(Ping timeout: 248 seconds)]
<mfiano>
Great thanks. Now I just have to figure out how to not pull in a million dependencies with xorg
<clever>
?
<mfiano>
nixos-install is pulling in lots of things I don't care about, just by uncommenting the xserver service line
<mfiano>
Like xscreensaver, loads of fonts, etc
<clever>
ah
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm closed pull request #27694: Make gcc5 a nativeBuildInput for OpenCV. (master...master-opencv-fix) https://git.io/v7nIk
NixOS_GitHub has left #nixos []
ison111 has joined #nixos
<joachifm>
mfiano: have you tried environment.noXlibs ?
<mfiano>
I have not. I am new to this distribution, and just want to get a minimal system installed before I learn all the different tweaking options.
<joachifm>
mfiano: take a look under nixos/modules/profiles. I think headless or minimal may be of interest
jbgi has joined #nixos
<joachifm>
depending on how minimal you want it ...
<mfiano>
Dumb question, where is 'nixos' located?
<maurer>
echo $NIX_PATH to see
ison111 has quit [(Client Quit)]
<joachifm>
mfiano: ah, sorry, I'm referring to the nixpkgs toplevel
<bbarker>
gchristensen - sweet, so I have NixOS's systemd running in a docker container now :) I'm not familiar enough with Nix to know how to get a reasonable shell environment (/bin/sh is not the answer apparently :))
<gchristensen>
omg
<gchristensen>
nice :D
<Eisfreak7>
Are all the builtin functions and the keywords of the expression language documented somewhere?
<maurer>
You can probably delete a bunch of it, but the relevant portions are
<maurer>
desktopManager.default = "none";
<maurer>
and pick a windowManager without a ton of deps
<mfiano>
Thanks!
<mfiano>
That will be i3-gaps, if it exists
<maurer>
(this one configures it to use xmonad, which will pull in a bunch of haskell stuff, but won't pull in a lockscreen and stuff")
<bbarker>
I'll try to upload it to a git repo today (and docker hub) so maybe others interested can improve the situation as well, but first I'd like to do something useful in it
<mfiano>
maurer: Thanks a lot! I'll study your config in full
<mfiano>
and yeah, I am a lisp developer, so haskell is a no-no :)
<hodapp>
hater.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5Bjs
<NixOS_GitHub>
nixpkgs/release-17.09 0fd7ef6 Will Dietz: clang_34: Disable hardening bits (#28543)...
NixOS_GitHub has left #nixos []
* Infinisil
is using Xmonad too
vaibhavsagar_ has quit [(Ping timeout: 246 seconds)]
arximboldi has quit [(Quit: arximboldi)]
<Infinisil>
Huh? I'm currently trying to shrink a 50% full 480GB NTFS partition with Windows 10, and it can only get 2GB out of it..
<Infinisil>
Trying to make space for nixos..
<mfiano>
Look at the source. Oh, wait
<Judson>
Is this the thing with NTFS where they put the inodes list about 10% of the way into the volume?
<bbarker>
oh noes, the infamous error i was getting on Nix+Alpine as well: [root@nixos:/run/current-system]# nix-channel --update
<Infinisil>
Judson: No idea but could be, there is a note: "You cannot shrink a volume beyound the point where any unmovable files are located"
nh2 has quit [(Ping timeout: 252 seconds)]
<Judson>
IIRC (and it has been years), NTFS keeps its list of inodes near but not at the top of the volume - and the list cannot be relocated.
<Judson>
I mean, now that I've settled in with patchelf, it seems like it should be easy, but that's what I understand.
<Judson>
Maaaybe there used to be a 3rd party tool that could do it?