orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
piq9117 has joined #nixos
<piq9117>
anybody using hasql-migration? it's currently marked as broken but when i runnix-build --no-out-link -A haskellPackages.hasql-migration --arg config '{ allowBroken = true; }'it builds without errors (i'm on pop_os). do i just remove it from the broken packages list and submit a PR? are there more test I can do to find out why this packages was
<piq9117>
marked broken?
<AmandaC>
piq9117: does it actually work though?
<AmandaC>
It may build but then immediately sigsegv on run or similar
moet has quit [Ping timeout: 240 seconds]
LnL has quit [Quit: exit 1]
<AmandaC>
That said to find out why it's marked broken, try searching for it in the pr's tab on GitHub
<piq9117>
i'm using it as a dependency and it works. are there steps i can take to test it out if it works?
<piq9117>
alright. i'll check on that.
<AmandaC>
And if it's working now just making a PR saying as such and unmarking it is all that's needed, aiui
<AmandaC>
(obv follow the general pr templet)
<piq9117>
cool. thanks AmandaC!
h0m1 has quit [Ping timeout: 244 seconds]
h0m1 has joined #nixos
<infinisil>
piq9117: Since this is a Haskell package it works a little differently, namely with a PR to the haskell-updates branch that removes the package from the list of broken packages in pkgs/development/haskell-modules/configuration-hackage2nix.yaml
<kini>
Dumb question -- I use `nix build` in my clone of the nixpkgs repo to test my changes to a package, but I'm not sure how to test my changes to NixOS stuff. Is `nixos-rebuild build -I /path/to/nixpkgs` the right way?
<kini>
(By "test" I mainly just mean, check whether it compiles properly -- I get that there are NixOS tests that can be run for more in-depth testing.)
<kini>
ah, I see. So that only affects when things are grabbed relative to `nixpkgs`. Thanks!
nij has quit [Ping timeout: 256 seconds]
<pachumicchu[m]1>
For a nixos service I'm creating a systemd service and setting serviceConfig.stateDirectory to a directory that does not exist yet(gets created in preStart on first run) and I get that error that the path doesn't exist. But I didn't know it needed to exist and in various services in nixpkgs the directory would have also not existed yet. Am I missing something on how the stateDirectory option works?
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<{^_^}>
[nixpkgs] @ericdallo opened pull request #93944 → MIDIVisualizer: init at 5.1 → https://git.io/JJ0GZ
MarcWeber has joined #nixos
<hazel[m]>
is there a way to have a `.nix` file with some common functions that I use among multiple other `.nix` files
<hazel[m]>
like basically i have a `common.nix` and then everything grabs functions from it
<hazel[m]>
or, i'd like to
MarcWebe1 has quit [Ping timeout: 265 seconds]
<colemickens>
hazel: when you import ./file.nix, it's as if the file were plopped right in. So { x = import y.nix; } where y.nix containers { foo = "bar"; } would evaluate to { x = { foo = "bar"; }; }
<colemickens>
that will let you have a common.nix and import it and whatever it contains
kir0ul18 has joined #nixos
<hazel[m]>
yeah, but i can't `import` at toplevel -- so how would i handle having multiple functions
<hazel[m]>
i guess i could do `commonFns = import ./common.nix`
<colemickens>
yup!
<hazel[m]>
and then ref `commonFns.mkVHost` or smth
<hazel[m]>
that would work
<colemickens>
yes
<hazel[m]>
nice
<colemickens>
you can also do "with import ./common.nix;" above the rest of your nix, which will bring the attrValues from common.nix into scope
<colemickens>
so you'd just have mkVHost availabe
<hazel[m]>
that would work yeah
<hazel[m]>
nice thanks
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}>
[nixpkgs] @romildo merged pull request #93851 → mate.atril: add support for more filetypes → https://git.io/JJRZD
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<Graypup_>
hey hey, I'm poking around a nix generated docker image and it has a lot of haskell interface .hi files in it that are taking up space for no reason
moet has joined #nixos
<Graypup_>
Can I exclude these from being included? they are of no value in a docker image and arguably of no value at all since this is an application executable that is not used as a library
<Graypup_>
I also appear to be accidentally shipping a bunch of -doc packages for haskell stuff? which is also not wanted in a container
<Graypup_>
to all: I'm sorry I keep having to ask so many questions while doing this project. I will write up everything I learn so it will be easier for the next person :)
ddellacosta has quit [Ping timeout: 240 seconds]
pjan has quit [Quit: さようなら]
<{^_^}>
[nixpkgs] @ju1m closed pull request #92106 → transmission: apply RFC0042 and harden the service → https://git.io/JJTnd
pjan has joined #nixos
<{^_^}>
[nixpkgs] @ju1m reopened pull request #92106 → transmission: apply RFC0042 and harden the service → https://git.io/JJTnd
codygman has quit [Read error: Connection reset by peer]
justan0theruser has quit [Ping timeout: 260 seconds]
<Graypup_>
clever, looks like that took 50% of the compressed docker image size off, which is really good. It's still 700MB compressed, yet the stuff I care about is less than 300MB uncompressed so I'll get back to you on where that space went
<Ashy>
matthewbauer: samueldr mentioned you might have been working on a nixos "distro" that is a bit more batteries included, is denali still the repo you're working on that in?
john1 has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
nixbitcoin has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
wnklmnn has quit [Quit: Leaving]
<Graypup_>
clever, I still have a bunch of haskell -doc packages in the nix store of the image. I put the main package I care about in like ` contents = [ (nixpkgs.haskell.lib.justStaticExecutables server) ];
<Graypup_>
`
<Graypup_>
is there anything further I need to do to figure out why I am unintentionally pulling that stuff in?
<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJ0lv
codygman has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
o1lo01ol1o has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
moet has quit [Quit: leaving]
Fare has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
palo1 has joined #nixos
nature has joined #nixos
cosimone_ has quit [Quit: Quit.]
<Graypup_>
ok I have more confusing issues with my haskell packages that are again resulting in an absurd quantity of stuff getting into my docker images: for many of the hackage dependencies I have them incorrectly pulling in their own docs via files in lib/ghc-8.6.5/package.conf.d/....
palo has quit [Ping timeout: 246 seconds]
<srhb>
Graypup_: Is this with something like justStaticExecutables?
palo1 is now known as palo
siel has joined #nixos
zupo has joined #nixos
<srhb>
Graypup_: (Or some other closure reducing mechanic that gets rid of at least haddock)
m0rphism has joined #nixos
<Graypup_>
srhb, I am justStaticExecutables'ing my own executable but we still have a lot of stuff being pulled in
<srhb>
Graypup_: Maybe create a reproducible gist and explain which dependencies you did not expect to see in the final image. :)
m0rphism has quit [Read error: Connection timed out]
m0rphism has joined #nixos
<Graypup_>
I have a reproducible github repo and cachix :P I'll try to paste some useful info into a gist from nix why-depends tho!
<srhb>
Sounds good. :)
<Graypup_>
basically what seems to be happening is that in my executable I am getting "...ths_warp.warp_bindir./nix/store/sdfajh-warp-..." which then pulls in warp which then pulls in docs via its .so
<Graypup_>
I already got a substantial win by deleting references to pandoc with a blunt instrument but I haven't yet checked whether it breaks the app
<{^_^}>
[nixpkgs] @andersk opened pull request #93949 → multipath-tools: Fix build with multiple-output lvm2 → https://git.io/JJ08O
<Graypup_>
HMM it appears that the blunt instrument was effective and perhaps did not result in breakage (would need to strace it to be 100% certain but pretty sure we're ok?)
<srhb>
Sounds reasonable! :)
lily[m]1 has joined #nixos
<Graypup_>
terrifying realization: apparently this thing depends on runtime haskell compilation through diagrams?? that's terrifying
<Graypup_>
well I guess absurdly sized containers are in our future :(
<srhb>
Graypup_: Spicy! I've used diagrams before but I don't recall runtime compilation.
slack1256 has quit [Remote host closed the connection]
<Graypup_>
it's emitting some stuff in a temp directory with Diagrams-xxx.hs filenames, who knows what that's about eek
Orbstheorem has joined #nixos
<srhb>
diagrams-builder?
<Graypup_>
if that's a thing, it's probably implicated ;-)
<srhb>
Indeed, it is. And that is how it works.
<srhb>
That is definitely not closure size friendly. :P
<Graypup_>
hmm well I guess our docker containers are going to be really big
<srhb>
I'm sure it can be at least reduced, but it probably requires some rather deep embedding of a compiler, and more manual "big hammer"-style closure reduction.
<Graypup_>
yeah, however, I think other components are still targetable with some large hammers
<Graypup_>
e.g. warp
* srhb
nods
Guest32960 has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
test300[m] has joined #nixos
xelxebar has quit [Remote host closed the connection]
<srhb>
I think once it's a little non-standard-y, the usual helpers aren't as helpful and you end up surgically deleting references whereever possible. Not great, but...
<Graypup_>
hmmm, remarkably it seems like diagrams-builder is causing nix to miss some runtime dependencies
<martin__>
The program compiles fine without the optimization flag. Does anybody know what might be up?
hoijui has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
reanimus has quit [Ping timeout: 260 seconds]
<martin__>
it seems to happen on nixos too
<srhb>
martin__: At a guess the configureFlags are being combined in a way you didn't expect, especially if it really has the space included that you have above.
<srhb>
martin__: Rendering the ghc entire commmand line unusable.
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
ixxie has joined #nixos
omneh has quit [Ping timeout: 240 seconds]
reanimus has joined #nixos
<martin__>
oh wow, yes, the space seem to have been the problem
<martin__>
able to compile now
<martin__>
thanks @srhb
m4ts has joined #nixos
<srhb>
martin__: Sure.
smatting_ has joined #nixos
o1lo01ol1o has joined #nixos
fendor has joined #nixos
afreak has joined #nixos
pmy has quit [Ping timeout: 240 seconds]
kreyren has quit [Ping timeout: 240 seconds]
pmy has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
thc202 has joined #nixos
<{^_^}>
[nixpkgs] @sorki opened pull request #93957 → Fix haskellPackages.zre, dontCheck for haskellPackages.haskeline_0_8_0_0 → https://git.io/JJ0ui
afreak has quit [Remote host closed the connection]
Thra11 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
afreak has joined #nixos
zupo has joined #nixos
domogled has joined #nixos
Guest52225 has joined #nixos
Guest52225 has quit [Changing host]
Guest52225 is now known as LnL
arjen-jonathan has quit [Quit: WeeChat 2.8]
afreak has quit [Client Quit]
<emilsp>
is there some shorthand for running the time binary (not the shell builtin command)? nix-shell -p time --command "time -v ..." tries to execute bash's time command :/
dermetfan has quit [Ping timeout: 272 seconds]
<adisbladis>
emilsp: --run 'command time -v ...'
parsnip1 has quit [Remote host closed the connection]
kreyren has quit [Remote host closed the connection]
<benschza>
There's an odd conflict between kdenlive and darktable in the authors file. Any ideas? `collision between `/nix/store/s2lwxawk6ldld56yh6fkhkjsx99d4wx5-kdenlive-19.12.3/share/doc/AUTHORS' and `/nix/store/57c466wsd0jj8igaf7n82mbm7kww2ddz-darktable-3.0.1/share/doc/AUTHORS'`
itshaydendev has quit [Ping timeout: 256 seconds]
<benschza>
Is there a way to ignore collisions using nixos-rebuild switch?
Thra11 has joined #nixos
<immae>
benschza: replace pkgs.darktable with (setPrio 100 pkgs.darktable) (or something similar) in your environment.systemPackages
zupo has joined #nixos
<immae>
both packages put a /share/doc/AUTHORS to the same place, it’s a packaging issue
knupfer has joined #nixos
orivej has joined #nixos
bkv has joined #nixos
inkbottle has quit [Ping timeout: 256 seconds]
zebrag has joined #nixos
bqv has quit [Ping timeout: 244 seconds]
bkv is now known as bqv
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos
tilcreator has quit [Ping timeout: 240 seconds]
<bqv>
what's the way to figure out the total size of the nix store, from nix
<bqv>
`du -s` will take a year
Aesth has joined #nixos
bqv has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @edolstra pushed 2 commits to release-20.03: https://git.io/JJ0XY
cosimone has joined #nixos
<gthm>
bqy: ... it takes a second on my machine (with only a 15gb store on an ssd). how long did you try letting it run?
nij has joined #nixos
bqv has joined #nixos
<bqv>
nevermind...
<bqv>
turns out i had 1.5TB of my drive partitioned away
<nij>
Hello! I'm new to nixos, and currently got nixOS installed with a configured xmonad :D Pretty fun!
<nij>
Some programs I use are others' builds. For example, Luke's build of suckless simple terminal (st) here (https://github.com/LukeSmithxyz/st).
<nij>
In general, how would I compile such program correctly (in the nixos way) on my system?
hoijui has joined #nixos
<nij>
(Meanwhile, I'm also reading nix pills.. but progressing slowly.
<makefu>
nij: great hearing you had a pleasant experience. for such tools you would normally create a nix derivation very similar to the hello example
<LnL>
bqv: FYI if an approximation is ok, nix knows the compressed size of all paths nix path-info -sh --all
<nij>
makefu: Thanks for reaching out! You mean hello.nix introduced in the first 10 chapters in nixpills?
<makefu>
pretty much, yes
<nij>
makefu: I'm currently on chapter 10.)
<makefu>
normally you start off with a derivation which does something similar to that you want. there are a lot of quirks for different build technologies though
<makefu>
at first, try to replace the source of hello with the source of st
<bqv>
LnL: wonderful, will remember for future reference. thanks :)
<nij>
makefu: Thanks! Lemme try that :D
<makefu>
st looks pretty "standard" to package
<makefu>
so you will have good chances to succeed :)
<nij>
Hopefully :D I'm excited
cosimone has quit [Quit: Quit.]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<makefu>
the main issue with package is normally that the build process has some strong assumptions towards your system (e.g. binaries `always` reside in /usr/bin)
<makefu>
but st looks pretty clean
tilcreator has joined #nixos
<bqv>
hm, 60 gigs
alp_ has quit [Remote host closed the connection]
<infinisil>
makefu: I don't think the nix pills are great for knowing how to package things tbh
alp_ has joined #nixos
<infinisil>
for nixpkgs
<eyJhb>
infinisil: basic nix knowledge is somewhat required I would say, but not 100% needed
<eyJhb>
Examples goes a long way
<makefu>
infinisil: what do you think would be the best introduction? honestly asking here, because i checked the wiki and there were no real "intro" articles
<infinisil>
makefu: I don't think there is one unfortunately (yet!)
<eyJhb>
Best atm. is if you can find a similar package
<nij>
Ah.. a typo "]". I work on a virtual machine, and still haven't got copy and past bidirectionally working. So I typed it manually.
<nij>
As you can see, "fontconfig, freetype, harfbuzz" have been added in.. but it still crys for it :(
<makefu>
it should be "buildInputs"
<{^_^}>
[nixpkgs] @fomichevmi opened pull request #93968 → texlive: new mirror with upstream revisions → https://git.io/JJ0M0
parsnip0 is now known as parsnip
parsnip has quit [Changing host]
parsnip has joined #nixos
parsnip has joined #nixos
parsnip is now known as parsnip0
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
dermetfan has joined #nixos
<nij>
hmm
knupfer has quit [Read error: Connection reset by peer]
<nij>
makefu: What's the difference between buildInputs and baseInputs?
truby has joined #nixos
noudle has quit []
<truby>
I'm having some issues with name resolution in nix packages on a foreign distro. The only things I can find about this are that I should have nscd running, but I already have sssd running and I can't run both. Anyone know if this is fixable with sssd?
xkapastel has joined #nixos
<nij>
Well.. in my `builder.sh` I have added contents of `buildInputs` and `baseInputs` into PATH.
<nij>
This could be an intermediate step introduced in nixpill.. :(
<emilsp>
adisbladis: that's exactly what I tried, and it runs bash's time
<sphalerite>
snajpa: cool, thanks!
<emilsp>
Oh, I just misinterpreted what you said, it does in fact work. Thank you very much!
<nixbitcoin>
Can I supplement /etc/dbus-1/system.conf with my own rules somehow?
parsnip0 is now known as parsnip1
parsnip1 is now known as parsnip2
parsnip2 is now known as parsnip3
parsnip3 is now known as parsnip4
spacekookie has joined #nixos
parsnip4 is now known as parsnip5
parsnip5 is now known as parsnip0
EmoSpice has joined #nixos
<infinisil>
nij: I guess it might work too, but in nixpkgs you never write your own builder
<infinisil>
And the default builder that's used everywhere uses buildInputs
Fare has joined #nixos
parsnip has joined #nixos
whald has joined #nixos
EmoSpice has quit [Quit: WeeChat 2.7.1]
AluisioASG has joined #nixos
ScottHDev has joined #nixos
alp_ has quit [Ping timeout: 264 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkv has joined #nixos
fendor_ has joined #nixos
karantan has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
bkv is now known as bqv
fendor has quit [Ping timeout: 240 seconds]
afreak has quit [Remote host closed the connection]
<nij>
infinisil: I see.. that seems to be an intermediate step introduced in nixpills for educational purpose. I will switch to your way and see if it works. Thank you :D
afreak has joined #nixos
<andi->
Do we have a nice way to use mkShell without CC, binutils, patchelf, … on PATH? stdenvNoCC doesn't seem to be sufficient for that (it just removes the CC).
<ToxicFrog>
' does not exist and cannot be created
<ToxicFrog>
(yes, with the newline before the closing quote)
<ToxicFrog>
I have no idea why it even wants to build that path (my <nixos> points to nixos-unstable, and I have no channels pointing to 17.03) or where the newline or coming from, or why it might be failing.
<ToxicFrog>
I know it's not a problem writing to the underlying block device or filesystem.
<ToxicFrog>
Ok, I did actually have a channel <nixos-17.03> pointing there, deleted it, now it's complaining about /nix/store/nlqc1grlbk37k9v8ndjn0z708ihhffqj-nixos-20.03-20.03.2657.b50d55871fb
<{^_^}>
[nixpkgs] @prusnak closed pull request #93937 → gnupg22: fix reproducibility issue by applying a debian patch → https://git.io/JJ0TG
orivej has quit [Quit: No Ping reply in 180 seconds.]
<nij>
I had `services.xserver.desktopManager.xterm.enable = false;` in my `configuration.nix`, and have run `$ nixos-rebuild switch`. Why after rebooting and `startx`.. the system still gives three xterms? I expect nothing showing up.
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
alp_ has quit [Remote host closed the connection]
orivej has joined #nixos
alp has joined #nixos
julm has quit [Read error: Connection reset by peer]
<nij>
infinisil: After `startx`, three white `xterms` are opened automatically.
<nij>
With one of them being the shell that handles "x". If I kill it, X dies.
<nij>
I hope there's nothing opened on the screen after `startx`.
<nij>
In arch, I configured that with `~/.xprofile`, but I don't think that's the right nix way.
<fps>
nij: inspect the usual suspects like xinitrc, xsession, xprofile, etc
<nij>
fps: Oh, is that the way you configure? I thought I have to take care of expressions in `configuration.nix`
virus_dave has joined #nixos
<fps>
nij: i just suspect there's some default startup file somewhere..
<nij>
I see.. lemme see!
<fps>
nij: you can normally override them as a user with your own files. look into the startx docs [and i suppose xinit] to see what files are relevant
<nij>
fps: Well, there's no such thing under `~`, `~/.config`, `~/.local~
hoijui has quit [Ping timeout: 272 seconds]
<fps>
man startx tells me there are default files
<fps>
see the "FILES" section in man startx
<fps>
then things should become clearer
pmy has quit [Ping timeout: 265 seconds]
<nij>
Neat! So it's hidden in `/nix/store/[hash]-xinit-[version]/etc/X11/xinit/xinitrc
<nij>
I can configure that manually, or just add one xinitrc in `$HOME`.
<nij>
Are there better ways you recommend?
<fps>
nij: users normally configure xinit by using one in their home directory
<fps>
that's also what the man page says: it only runs the systemwide xinitrc if the user doesn't have one
<nij>
I see..
pmy has joined #nixos
<nij>
I have the false belief that everything can be done in `configuration.nix`.. so I was confused.
<nij>
Thanks so much!
julm has joined #nixos
<fps>
nij: hmm, maybe there's also a way to provide a systemwide default xinitrc. not sure
<nij>
infinisil-m: My apology to address issues quite a while ago. This is about getting packages from others' github repo. In particular, I'd like to install this guy's build of suckless simple terminal (https://github.com/LukeSmithxyz/st). You pointed out that `st` has been put officially in nixOS, and I can override the config fairly easily. However, I'm also using this opportunity to learn how in general one
<nij>
install others' build in nixOS. How would you do it without using the official nix package?
disasm has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<infinisil>
nij: I'd first see what build system the package uses, and then check what nixpkgs function I'd use for that build system. For C projects like that it's just stdenv.mkDerivation
<infinisil>
So I'd start with `stdenv.mkDerivation { name = "..."; src = fetch... { ... }; }`, try to build that and see why it fails and go from there
<afreak>
is there any news i can read about breaking changes and updates regarding the unstable nix channel ?
<urkk>
(icc calls the gcc binary underneath, but not sure if it needs the wrapper)
kir0ul39 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
julm has joined #nixos
<evanjs>
So before I dig too deep... does anybody know why the image under `.background_image` is being overridden by the DM (XFCE in this case)? Is this expected behavior?
<evanjs>
Trying to set a static background for an image that is going to be provisioned with a product
medvid_ has quit [Ping timeout: 240 seconds]
nij has quit [Quit: leaving]
<urkk>
I think using cc and c++ may work. However implies that compilers are mutually exclusive as the have the same bin/cc binary
medvid has joined #nixos
<simpson>
`c++` is probably your best bet. I don't use ICC, but if the wrapper's there then I'd rely on the wrapper.
<simpson>
It's no different than, say, `cpp`, which also should be in the wrapper.
<simpson>
(This is because, historically, a long long time ago, C++ was implemented as macros on C. The reuse of the C compiler toolchain for C++ was deliberate.)
julm has quit [Ping timeout: 256 seconds]
<urkk>
I wrote my icc wrapper (and some other compilers we are developing), but it doesn't have cc and c++, yet :)
<simpson>
urkk: That's the sort of thing that I'd imagine would be better hardcoded into each compiler's wrapper, precisely so that we don't have to add such adjustments to every Makefile without a configure script.
ddellacosta has joined #nixos
<evanjs>
mmkay, so in that case, is there any option for like, DE/WM startup commands?
<evanjs>
vs e.g. DM startup commands
<evanjs>
like services.xserver.windowManager.i3.extraSessionCommands but for xfce or etc
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<evanjs>
either with nixos or home-manager
<urkk>
simpson: yep, but I'm not a fan of wrappers, either
orivej has quit [Ping timeout: 240 seconds]
<siraben>
How do I rebuild a package in Nix?
orivej has joined #nixos
<siraben>
When I run nix-build, it just replies with store path of the built package, but I want to rebuild.
pmy has quit [Ping timeout: 240 seconds]
<srhb>
siraben: Usually you never have to. You can force it with --check
<srhb>
siraben: If that makes a difference, then your build is impure.
pmy has joined #nixos
<siraben>
srhb: OK, thanks. The build isn't impure I just wanted to see the logs on initial build again.
<srhb>
siraben: You can use nix logs for that :)
<srhb>
nix log, sorry
nixuser has quit [Read error: Connection reset by peer]
<siraben>
srhb: Thanks
NeoCron has quit [Remote host closed the connection]
<sphalerite>
bqv: I think it may try. Probably best to reboot and roll back if it goes wrong.
<sphalerite>
(roll back by booting into an older generation)
<bqv>
hmm
<bqv>
yes
<sphalerite>
oh right, there's also the issue with everything actually being copied :D
<bqv>
yeah, that's why i'm thinking rebuild-switch first, then copy
<bqv>
but if nix tries to remount itself, that won't work
<sphalerite>
I think the best way tbh would be to boot into an installer image and do it from there, activating with nixos-install.
xkapastel has quit [Quit: Connection closed for inactivity]
<bqv>
tbh i could lutris myself
<dmj`>
is there any way to preserve the defaults in a set when using @-patterns?
<dmj`>
for example, "let f = { foo ? 0 }@options: { inherit (options) foo; }; in (f {}).foo" says "foo is missing"
<sphalerite>
dmj`: no, but you can drop the @-pattern and use // instead
erasmas has joined #nixos
<sphalerite>
> let f = options_: let defaults = { foo = 0; }; options = defaults // options_; in options.foo; in f {}
<{^_^}>
0
<sphalerite>
dmj`: ^
<dmj`>
sphalerite: ah very cool, that's a great workaround. Thank you
davidv7 has joined #nixos
hoijui has joined #nixos
<dmj`>
sphalerite: can I go one step further and make options_ default to an empty set so invoking would just be "f"
<dmj`>
maybe {...}@options_: would work
bkv has joined #nixos
bqv has quit [Ping timeout: 244 seconds]
bkv is now known as bqv
alp has quit [Ping timeout: 260 seconds]
<sphalerite>
dmj`: no, because a function is still a function and needs an argument
<sphalerite>
dmj`: there are some really nasty hacks that would make this work, but they're really nasty and it's not a nice interface to provide.
<dmj`>
sphalerite: right but when you call nix-build it needs the argument to be specified. nix-build on options_: will fail, but {...}@options_: will pass
drakonis has joined #nixos
<dmj`>
sphalerite: but I guess in the latter case you're screwed because it won't apply overrides to your defaults
<dmj`>
due to the @-pattern on the set
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dmj`>
sphalerite: instead of this approach, I'm just going to unpack the set as the function argument, and then inherit it into a record manually, @-patterns are non-intuitive
<dmj`>
sphalerite: otherwise it won't allow users to nix-build --arg optionA true , since @-patterns will drop it
mcaju has joined #nixos
<sphalerite>
oh yeah that sucks
malook has quit [Quit: malook]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
KarlJoad has joined #nixos
<KarlJoad>
How can I get the hash for a downloaded package with nix?
<lewo>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<lewo>
KarlJoad: ^
<dmj`>
KarlJoad: before you downloaded it, or after
<numkem>
I've just noticed that if I open a document with Okular it crashes with a segfault but if I open Okular by itself than a drag-and-drop the same file to it, it opens just fine...
<numkem>
KarlJoad: I trick I have is I use espanso to add the 0000000000000000000000000000000000000000000000000000 when I write :nixhash in any editor
<mcaju>
hi, it looks like vulkan-headers is out of date, and I'm hiting a bug while trying to build decaf-emu, it requires updating vulkan-headers, and I guess vulkan-loader too. Should I contact the maintainer?
<gustavderdrache>
there's also a fakeSha256 for doing TOFU in lib
teto has quit [Quit: WeeChat 2.9]
<srk>
hehe, I've added pkgs.tofu to my overlay today .. :D
<sphalerite>
mcaju: best option is updating the stuff yourself, opening a PR with the changes and cc'ing the maintainer to review the change. If you're up for that. :)
<mcaju>
ok, will do
<sphalerite>
mcaju: that said, you can also open an issue (though check if there isn't already one first) and cc the maintainers there.
alp has joined #nixos
michiel__ has joined #nixos
<KarlJoad>
dmj`: I would prefer to do it before the download. However, it is not on GitHub. It is a binary tar.xz file used to put together the tor browser.
proofofkeags has joined #nixos
<sphalerite>
KarlJoad: you can also use nix-prefetch-url (with --unpack if fetchzip is being used). But the trust model will end up being the same.
<dmj`>
KarlJoad: ^
<dmj`>
KarlJoad: you can also download it locally, then use nix-hash on it
<dmj`>
sphalerite: the override vs. extend in haskellPackages is still an issue it seems
<evanjs>
looks like I might just need an xinitrc. Bah. Wanted to avoid a `file` if possible
<evanjs>
(for setting desktop background independent of the DE)
endformationage has joined #nixos
<dmj`>
there should be a solution to the haskell packages infra where someone can add their own overlays w/o fear of it nuking overrides specified in other overlays
<dmj`>
and the overrides of the overlays applied last take precedence
<bqv>
i wish it were easy to update my flake inputs to <git repository but commit from last week>
<bqv>
so i could use bleeding edge nixpkgs but not have to worry about compiling flipping webkitgtk all day
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
maier has joined #nixos
BlessJah has quit [Ping timeout: 246 seconds]
<dxb[m]>
i hope dumb questions are allowed here because this might be one… right now i'm setting up a vm with NixOS and working on moving my configs and stuff over to eventually replace arch on my laptop… but i have a couple questions. is it possible to manage my dotfiles directly without home-manager or something similar? or is home-manager pretty much the best option? i'm brand new to Nix so i'm sure i'm doing stuff wrong but i tr
<dxb[m]>
pasting a bunch of my bashrc into `programs.bash.initExtra` in my home-manager config and at some point it somehow breaks out of the string but there's no `''` anywhere in my bashrc… i guess maybe there's a size limit on strings? idk. feeling a tad bit unsure about how to proceed. sorry if this is a bit rambling lol
quinn has joined #nixos
<sphalerite>
dxb[m]: most likely a ${}
<dxb[m]>
i definitely have some of those in there…
maier has quit [Ping timeout: 240 seconds]
<dxb[m]>
those break out of a multiline string?
<sphalerite>
dxb[m]: home-manager is the only thing I know of that will manage stuff in your HOME. I personally just use plain nix with some wrapper scripts to ensure all the config comes from ~/.nix-profile
<bqv>
,quote ${test}
<bqv>
,quoted ${test}
<bqv>
idk
<sphalerite>
dxb[m]: yes, they're for antiquotation
<sphalerite>
,quote''
<sphalerite>
,escape''
<{^_^}>
Escape this in '' strings with: '''
<{^_^}>
Escape this in " strings with: ''
<sphalerite>
,escape${}
<{^_^}>
Escape this in '' strings with: ''${}
<{^_^}>
Escape this in " strings with: \${}
<bqv>
,escape ${test}
<{^_^}>
Escape this in '' strings with: ''${test}
<{^_^}>
Escape this in " strings with: \${test}
<bqv>
,escape $foo
<{^_^}>
Escape this in " and '' strings with: $foo
<sphalerite>
dxb[m]: you can either escape it as above, or use something like builtins.readFile to set the value from a file without any of the pesky quoting issues, as long as you don't actually rely on the antiquotation somewhere in the contents :)
<bqv>
dxb[m]: every time you have a ${} that you don't want to drop back into nix code, put a '' before it
<bqv>
,escape ''
<{^_^}>
Escape this in '' strings with: '''
<{^_^}>
Escape this in " strings with: ''
<bqv>
dxb[m]: every time you have a '' in there that you don't want to end the string, add another '
waleee-cl has joined #nixos
<dxb[m]>
<sphalerite "dxb: home-manager is the only th"> can you tell me more about this method, or point me toward some docs for it? i don't think i need home-manager really
<dxb[m]>
also thank you guys for the escaping tips
<sphalerite>
,declarative dxb[m]
<{^_^}>
dxb[m]: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<sphalerite>
,declarative = There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env; 2) buildEnv, providing more control over the paths that are linked into the profile; 3) home-manager, providing nixos-like config for your ~. https://git.io/fp0aU contains a comparison of the three methods and a sample expression for option 2.
<{^_^}>
declarative redefined, was defined as There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
gthm has quit [Ping timeout: 240 seconds]
signaryk has joined #nixos
signaryk_ has quit [Remote host closed the connection]
WilhelmVonWeiner has joined #nixos
<WilhelmVonWeiner>
how can i list configuration options a package provides?
<bqv>
options use packages, not the other way around
<WilhelmVonWeiner>
I don't think I understand.
jojosch[m] has left #nixos ["User left"]
kalbasit has joined #nixos
<bqv>
nixos uses packages as lego to make a system, based on your configuration. packages don't bring anything to that except themselves
<WilhelmVonWeiner>
so if I set up options for a package I don't need it in environment.systemPackages?
seku has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
dbmikus has joined #nixos
<bqv>
options are just predefined configs that you can use as part of your config, generally they'll put things in environment.systemPackages *for* you. it's the same thing under the hood
<simpson>
Correct. In fact, you may not need environment.systemPackages at all.
<WilhelmVonWeiner>
I must've misssed some really obvious block of text in the documentation.
proofofkeags has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<jflanglois>
Hello, I'm having an issue trying to build uboot from nixpkgs. I'm trying to do the following: https://gist.github.com/jflanglois/a42715c41ccbfbb37d0f915b177c5eb4 but it errors out saying that musl is not supported on `mips-linux`. I see from nixpkgs that we have `mipsel-linux` defined in platforms.linux, but apparently not the big-endian version.
<jflanglois>
Is there a reason for this?
<Fare>
Big-endian lost the software wars, and is thus the evil hitlerian beast vanquished by the heroic stalinian forces.
fendor__ has joined #nixos
<OmnipotentEntity>
If there is a big-endian version of the software, then probably no reason other than it simply hasn't been packaged
fendor_ has quit [Remote host closed the connection]
alp has joined #nixos
<Fare>
that's extra work, though.
<armin>
so i want to use colour codes and prepending spaces/tabs in my users.motd - can i do so?
<OmnipotentEntity>
armin, I don't see why not. Do the control characters fail to parse in Nix?
asheshambasta has quit [Ping timeout: 272 seconds]
<OmnipotentEntity>
I'm trying to update a package that builds using quicklisp. The old version simply downloaded a versioned tarball. Does anyone know of a way to make quicklisp work in nixpkgs? And/Or is there an example project somewhere that is already packaged using it?
<armin>
omnipotententity: hm, let me look :)
yilin has joined #nixos
yilin has quit [Client Quit]
<armin>
omnipotententity: wow you're right, that just worked
<OmnipotentEntity>
👍
<jflanglois>
Fare omnipotententity I guess my question is why we wouldn't have `mips-linux` as part of `platforms.linux` when `mipsel-linux` is there, regardless of being software's ww2 germany.
AmandaC has quit [Remote host closed the connection]
<Fare>
does mips-linux mean the same as mipseb-linux?
<jflanglois>
Do we have Hydra build all of the variants under these platforms?
<Fare>
the why is ultimately: because there is no committed maintainer to do the work.
<jflanglois>
That's partly what I'm trying to figure out. I know different distributions have different nomenclarture.
<jflanglois>
But yes, mips-linux should be the big endian version of mipsel-linxu.
Amanda has joined #nixos
<Fare>
If you want to port NixOS to the 3b2 or the VAX, I'm pretty sure no one is going to stop you but yourself.
Amanda is now known as Guest22096
<Fare>
you can also do HPPA, i860, and DEC Alpha.
<jflanglois>
Ok sure. My goal is not to port NixOS, but to be able to have a cross compiler that can build uboot for mips-linux. I guess I'll just add it to platforms.linux locally.
<Fare>
these days, AA64, RV64 and as legacy x64 is where the action is.
cole-h has joined #nixos
<jflanglois>
Right. My sepcific use case is around nixwrt.
<Fare>
oh, why did I forget PowerPC ?
Guest22096 is now known as AmandaC
<Fare>
jflanglois, so, soon I can run NixOS on my SGI Workstation?
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
marsh has joined #nixos
<jflanglois>
I get you're being tongue-in-cheek, but that's really not what I'm asking about.
<armin>
omnipotententity: had to put a bit of evil into the whole thing
<OmnipotentEntity>
oh neat
dansho has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
jflanglois has left #nixos [#nixos]
Ralith_ has joined #nixos
jflanglois has joined #nixos
jflanglois has quit [Remote host closed the connection]
<Ralith_>
how do you get a proper debug build of a QT app?
jflanglois has joined #nixos
<Ralith_>
enableDebugging has no effect, and just setting cmakeFlags = ["-DCMAKE_BUILD_TYPE=Debug"]; doesn't stop nixpkgs from doing that obnoxious thing where it forces -O2
jflanglois has quit [Client Quit]
<{^_^}>
[nixpkgs] @grahamc opened pull request #94022 → Partial revert of #76542's strict hostname checks → https://git.io/JJEe2
graf_blutwurst has quit [Remote host closed the connection]
<KarlJoad>
How often does the nixpkgs repo get rebuilt and stored on cache.nixos.org?
<gchristensen>
every 4 hours new evaluation is started, and all the builds are uploaded as they happen
gthm has joined #nixos
<KarlJoad>
So, in theory, if I made a pull request for a package update, I could use the cache for it by EoD?
<gchristensen>
once it merges, there is a strong probability
<cole-h>
Yeah, it has to merge first :P
<KarlJoad>
Ok, cool.
<gchristensen>
sometimes it won't, if things are busted in some weird way, or if a security-critical issue was fixed on master and backlogged the build queue
<{^_^}>
[hydra] @edolstra pushed 7 commits to no-nar-accessors: https://git.io/JJEeN
<KarlJoad>
Gotcha. My change just updated the Tor browser, so I shouldn't have broken anything. I can't say the same for other things.
<theduke>
Is there an easy way to get `buildPythonPackage` to ignore `requirements.txt` ?
fendor has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<bqv>
gchristensen: does hydra store build time?
<gchristensen>
duration?
<bqv>
yes
turlando has quit [Ping timeout: 256 seconds]
<bqv>
would be useful to be able to lookup last build time for a package
<bqv>
so i know if i'll be waiting a week for glib to be done
<{^_^}>
[hydra] @edolstra opened pull request #795 → Stream NARs from the remote to the destination store → https://git.io/JJEvL
Nanowolf4[m] has joined #nixos
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
<bqv>
(turns out it was a quick one, but it would still be cool to be able to look it up)
fendor has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
fendor_ has joined #nixos
o1lo01ol1o has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
nikita` has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<armin>
so appearently installing "neovim" doesn't give me a man page for nvim - how do install it?
<infinisil>
,locate man nvim
<{^_^}>
Found in packages: neovim-unwrapped
<infinisil>
armin: Hm well maybe that, but it's weird to have to install unwrapped packages
<armin>
hm, so why do i have to choose the -unwrapped one?
<infinisil>
I suspect the man pages aren't properly propagated from the unwrapped to the wrapped one
<bqv>
you probably want to install (pkgs.loPrio pkgs.neovim-unwrapped) as well as pkgs.neovim, so the wrapped version wins the conflict
<infinisil>
That sounds like a good workaround for now ^
proofofkeags has joined #nixos
<armin>
bqv: mind to elaborate why?
<bqv>
otherwise, since both provide /bin/neovim, it's essentially a coin toss whether your final system's bin/neovim uses the wrapped or unwrapped version
<bqv>
but you definitely want the wrapped version
<armin>
bqv: yeah but why?
<bqv>
and since the problem is that the wrapped version doesn't have the man pages, those won't collide anyway, and the unwrapped version will add them to your system
<bqv>
you do want manpages don't you? :P
<armin>
you still didn't explain why i want the unwrapped version, why the wrapped version only has the man pages, and it could well be that i simply don't know what wrapped packages exactly are, yes, but my question STILL remains. :)
<bqv>
i don't have the answer
<bqv>
i just know how to fix it
<bqv>
"god knows"
proofofkeags has quit [Ping timeout: 244 seconds]
<armin>
well okay. the only thing i find when googling for it is like "i've consulted the docs but couldn't find anything about it" stuff on github.
<armin>
i understand what a wrapper script is and where technically these 2 packages differ, but i still don't see why wrapping is necessary in this scenario.
<bqv>
have you read the source?
maier has joined #nixos
<symphorien>
armin: so that adding python modules to the python rplugin engine of neovim does not recompile neovim
<armin>
has some stuff that sets GEM_HOME and calls /nix/store/pa64miqi542wdpx7qcm92sn54qjzzllp-neovim-unwrapped-0.4.3/bin/nvim with 5 --cmd arguments with vim let-commands that set vim internal variables...
<armin>
infinisil: thank you!
<armin>
symphorien: so the whole wrapping of binaries in the first place is about separating the program from some extensions?
<symphorien>
not always, but that's one of the use cases
<armin>
ok :)
maier has quit [Ping timeout: 264 seconds]
<symphorien>
case in point: python.withPackages
alp has joined #nixos
meh` has joined #nixos
<bqv>
i wish i could grep all the nix source of my flake and it's inputs
<{^_^}>
[nixpkgs] @Atemu opened pull request #94027 → linux_zen: init at 5.7.10 → https://git.io/JJEfF
<gchristensen>
infinisil: maybe recursively follow parent's `.inputDrvs` and -r those paths, but yeah
<infinisil>
I think that's the same as `nix-store -qR` ing the root .drv no?
<gchristensen>
yeah
<infinisil>
(and then nix-store -r'ing)
<gchristensen>
but only if you need to actually build
mbrgm has quit [Client Quit]
<bqv>
my config is building perl and i have no ***ing idea why
mbrgm has joined #nixos
<bqv>
it's building like 500 things it probably shouldn't be, tbh
<infinisil>
gchristensen: Oh what if Nix built a locate index over everything it built
<infinisil>
Which would also be substitutable
<infinisil>
Then you could `nix-store -qR` a drv and grep through the indices of all those paths without building them
<infinisil>
Oh but source's are tarballs
<infinisil>
Which are only unpacked transiently in a build
<infinisil>
Never mind, that won't work very well then
<gchristensen>
I don't think there is a 100% principled way to do it, but I think it could be done without too much hackery :)
proofofkeags has joined #nixos
<infinisil>
Ah yeah, just looking for source derivations only might work well enough
<bqv>
infinisil: i still like that idea, as a neat way of locating files
<gchristensen>
esp. since there is a very small number, practically, of unpackers
<infinisil>
bqv: I think it would be more for locating strings
<infinisil>
But I guess files would work too, and be much more lightweight
<infinisil>
Builtin nix-locate functionality
<bqv>
exactly
<infinisil>
gchristensen: I previously suggested making all sources support something like `${source}/bin/create` which when run will unpack the source into the current directory. This would work well for that
<infinisil>
I can see a problem with this now though: You'd need two derivations for every source instead of just one. Because ${source} can't be a FOD, but the fetching needs to be in a FOD
<infinisil>
So you'd need a simple derivation that just wrapps the FOD with a binary
<{^_^}>
[hydra] @grahamc merged pull request #777 → Fix issue #614: restart queue/evaluator on sufficient disk space avai… → https://git.io/Jf1JZ
<{^_^}>
[hydra] @grahamc pushed commit from @kquick to master « Fix issue #614: restart queue/evaluator on sufficient disk space avai… (#777) »: https://git.io/JJEJm
MightyJoe has joined #nixos
<infinisil>
Could be solved by them exporting `source.createCommand` and `source.createArguments` as Nix strings
Fare has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
o1lo01ol1o has joined #nixos
ManiacOfMadness has quit [Ping timeout: 272 seconds]
cyraxjoe has quit [Ping timeout: 265 seconds]
<infinisil>
Will take some thought to have a nice solution
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos
MightyJoe has quit [Ping timeout: 265 seconds]
cyraxjoe has joined #nixos
kriteus[m] has left #nixos ["User left"]
orivej has quit [Quit: No Ping reply in 180 seconds.]
buckley310 has joined #nixos
kir0ul39 has quit [Quit: Ping timeout (120 seconds)]
orivej has joined #nixos
<zie>
is /etc/nixos/configuration.nix stored in the nix store (/nix) anywhere? (so far I haven't managed to find it)
proofofkeags has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 merged pull request #93585 → dash: fix compilation on darwin → https://git.io/JJChK
<dminuoso>
Im not quite sure why that is, why doctests are being built, or how to properly avoid it.
<dminuoso>
Surely I cant be the only one using nix.
catch22 has joined #nixos
<cransom>
bqv: copySystemConfiguration? works for me.
<bqv>
fair enough. i do similar in my flake anyway
<bqv>
gchristensen: i think it was you who said it was broken back when i mentioned it, if you remember why
xkapastel has joined #nixos
alp has joined #nixos
<infinisil>
bqv: Probably because it doesn't copy the whole config if you have it in other files as well
<infinisil>
I personally have my config in like 100 different files, that option wouldn't do anything for me
lsix has quit [Ping timeout: 272 seconds]
adray[m] has joined #nixos
<gchristensen>
it isn't a guaranteed copy of your config
<gchristensen>
yeah
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJEJF
gnidorah has quit [Quit: Connection closed for inactivity]
<infinisil>
Though, knowing the module system a bit better now, I think it's possible to implement this much nicer
<infinisil>
(and it would work almost always)
<afreak>
im trying to make an overlay, for bumping a rust-app to newest master, but its failing some cargo.lock diffcheck, not sure whats wrong with it https://kopy.io/WAibv#4Fa1S05ZNj7Dxo
ManiacOfMadness has quit [Ping timeout: 272 seconds]
<{^_^}>
[nix] @Ericson2314 opened pull request #3864 → Abstract out topo sorting logic → https://git.io/JJETG
<{^_^}>
[nixpkgs] @jerith666 opened pull request #94029 → OpenJDK: Update 11 and 14 per July 2020 CPU → https://git.io/JJETZ
orivej has quit [Ping timeout: 240 seconds]
maier has joined #nixos
gthm has quit [Ping timeout: 265 seconds]
nDuff has joined #nixos
maier has quit [Ping timeout: 240 seconds]
tv has quit [Ping timeout: 240 seconds]
tv has joined #nixos
yilin has joined #nixos
<infinisil>
bqv: That does sound much better tbh
<colemickens>
This topic is actually really interesting to me as I'm trying to figure out a good design for cloud images in a Flakes world (where the cloud module might not come from a nixpkgs channel, for example)
<colemickens>
Does flakes somehow encapsulate the system config as part of the running system? Even if spread across multiple files?
lsix has joined #nixos
__monty__ has quit [Quit: leaving]
lsix has quit [Client Quit]
knupfer has quit [Ping timeout: 244 seconds]
<{^_^}>
[nixos-homepage] @davidak pushed to davidak-Governance-1 « Remove Governance from menu »: https://git.io/JJEkL
alp has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixos-homepage] @davidak opened pull request #500 → Remove Governance from menu → https://git.io/JJEkm
<dxb[m]>
sphalerite: not sure if you're still around -- i've looked over those links from what we were discussing earlier, and i'm not actually seeing anything related to what i was asking about. as far as a can tell those links are talking about installing packages, but i'm trying to figure out how i can configure my packages. i need a good way to hang onto my dotfiles and move them into place on a new install... unless i overlooked
<dxb[m]>
something, which i guess might be likely since i'm super new to nix in general
ManiacOfMadness has joined #nixos
work__ has quit [Quit: Connection closed for inactivity]
sigmundv has quit [Read error: Connection reset by peer]
<sebass[m]>
error: The path name '.gitignore' is invalid: it is illegal to start the name with a period. Path names are alphanumeric and can include the symbols +-._?= and must not begin with a period....
<sebass[m]>
I get this error and haven't been able to work around it:
ManiacOfMadness has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJEY8
wnklmnn has quit [Quit: Leaving]
EmoSpice has quit [Ping timeout: 246 seconds]
globin has quit [Ping timeout: 256 seconds]
<devalot>
Is it possible to get NixOS tests working on a non-NixOS machine (i.e. GitHub Actions)? I have a project using NixOS tests and think it would be interesting to run this on GitHub's CI. I suppose you'd need the ability to use qemu. What else?
kriteus119[m] has joined #nixos
proofofkeags has quit [Remote host closed the connection]