<infinisil>
> _show = x: if lib.isDerivation x then "<derivation ${x.drvPath}>" else x
<pie_>
huh.
<{^_^}>
_show defined
<pie_>
so this all sitll points to it just being an attrset
<infinisil>
It really is
<pie_>
infinisil: context: <pie_> ...im confused. using // to override disallowedReferences doesnt work but .overrideDerivation does
shibboleth has quit [Remote host closed the connection]
<infinisil>
Hm I see
<infinisil>
Maybe just because it doesn't override .outPath
<infinisil>
Not sure actually
freeman42x has quit [Ping timeout: 252 seconds]
<infinisil>
OHh I see
<infinisil>
It's the magic of the `derivation` attribute
<{^_^}>
[nixpkgs] @flokli opened pull request #66856 → systemd: build with cryptsetup support, add cryptsetup generators → https://git.io/fjFuS
<infinisil>
s/attribute/function
<infinisil>
This function probably does: Take an attrset, instantiate it, and return an attrset where .outPath is the string with context including the derivation
<tazjin>
anyone familiar with the travis-ci Nix setup? It uses `nixos-unstable` by default, in which `cachix` is apparently broken atm - to override this I tried pinning a `nixpkgs` via `NIX_PATH` and it seems to take for some commands - but not others
<tazjin>
is there something odd going on in the travis setup?
<vika_nezrimaya>
ToxicFrog: ok I forgot I flipped the args for testing
<vika_nezrimaya>
but now there's another error
<vika_nezrimaya>
1sec
<vika_nezrimaya>
while evaluating the attribute 'makeFlags' of the derivation... at <...>/pkgs/stdenv/generic/make-derivation.nix:197:11: value is a string while a list was expected, at...
<clever>
vika_nezrimaya: can you pastebin your nix expr?
<clever>
vika_nezrimaya: makeFlags can be both a list or a string, and in thi case, its a string
<clever>
vika_nezrimaya: line 3 of your pastebin is trying to do string ++ list
<vika_nezrimaya>
ok
<vika_nezrimaya>
so I need to make a conditional
<vika_nezrimaya>
clever: what's the function for detecting a string? something like builtins.isString?
<clever>
> builtins.typeOf "foo"
<{^_^}>
"string"
<clever>
> builtins.typeOf [ "foo" ]
<{^_^}>
"list"
<vika_nezrimaya>
great :3
<vika_nezrimaya>
just what I need
___laika has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
<craige>
Installing virtualbox on 19.03 fails with a curl error as the patch for qtx11extras no longer exists. This has been patched in master. Does anyone have any work arounds for 19.03?
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #66858 → haskell: mark termonad and focuslist as unbroken → https://git.io/fjFzs
<clever>
craige: the fix will likely need to be backported to 19.03
oborot has joined #nixos
<craige>
I suspect as the patch was made in May, that's not going to happen. I was just seeking most graceful way around it. :-)
<craige>
The change to virtualbox/default.nix was small but the overall commit was large: 5bec9dc65b46eeb45a63a9f7875b5ddfbb798d10
<craige>
Thanks clever - I'll give that a whirl.
<craige>
Ah, much more graceful that where I was heading. Thanks!
ryantrinkle has quit [Ping timeout: 246 seconds]
MmeQuignon has quit [Ping timeout: 250 seconds]
ericnoan has quit [Ping timeout: 245 seconds]
ottidmes has quit [Ping timeout: 245 seconds]
chiefgoat has quit [Ping timeout: 272 seconds]
swistak35 has quit [Ping timeout: 244 seconds]
ericnoan has joined #nixos
ryantrinkle has joined #nixos
swistak35 has joined #nixos
alex_giusi_tiri has joined #nixos
chiefgoat has joined #nixos
jgt has joined #nixos
felixfoertsch23 has quit [Ping timeout: 248 seconds]
jgt has quit [Ping timeout: 264 seconds]
felixfoertsch has joined #nixos
<alex_giusi_tiri>
Hi! :-) I am trying to use the zyre library that I added to my nixpkgs, but zpinger doesn't seem to work. I suppose that ZMQ doesn't work well on NixOS, as it doesn't pass its self tests (doCkeck=false)?.. What would your experience be? Thanks!
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjFgf
englishm has quit [Excess Flood]
englishm has joined #nixos
felixfoertsch has joined #nixos
Okinan has joined #nixos
felixfoertsch23 has quit [Ping timeout: 245 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<alex_giusi_tiri>
I have an idea:P: what if a nixpkgs set/channel were to be created that included all versions of all packages, with all their subtle variations? There could be a default version for each package (mostly for convenience, and for backward compatibility). We would only add new packages; almost never remove any. Any package version could be hashed in some way to uniquely identify it; the default versions would not. When writing a
<alex_giusi_tiri>
it could use a hashed version or the default one to specify it as a dependent one. In user space, we could then select to install any version we would like (without changing the channel). It would be like all the channels, past+present+future, would be merged. What do you think? Would this be a good/not-so-good idea? Could it work? Why? Thanks! This idea came to me from IPFS, which would be very similar.
<alex_giusi_tiri>
As a side note, could we add a "-stable[-small]" channel, which would point to the latest stable version of the nixos and nixpkgs channels?
<{^_^}>
[nixpkgs] @lopsided98 opened pull request #66861 → directfb: fix build on ARM → https://git.io/fjFgL
lord| has quit [Read error: Connection reset by peer]
Walker3R has quit [Remote host closed the connection]
<alex_giusi_tiri>
ok, interesting, thanks
nexgen has joined #nixos
MinceR_ has joined #nixos
jgt has joined #nixos
<{^_^}>
[nixpkgs] @lopsided98 opened pull request #66862 → gst_all_1.gst-plugins-base: fix build on ARM → https://git.io/fjFg3
MinceR has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 252 seconds]
<iqubic>
is it possible to tell home-manager to pull dependencies from unstable?
<alex_giusi_tiri>
The thing that I was after is to have available any version, no matter how old, and even if it is unsupported anymore. That just gives me the reassurance, that, if I ever wanted/needed to use it for whatever reason, I could, and it would be simple. I think that it could also be more flexible to select packages this way, either when developing (selecting as a dependency) or using (selecting to install). It broadens the selecti
<alex_giusi_tiri>
eally like to try it sometime; I hope noone would mind! :-D
freeman42y has quit [Quit: Leaving]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
ilikeheaps has quit [Ping timeout: 268 seconds]
ilikeheaps has joined #nixos
<alex_giusi_tiri>
iqubic: I think that you would `nix-build` it, but specifying which nixpkgs set you would like to use for dependencies: nix-build -I nixpkgs="/path/to/a/nixpkgs-unstable" -E 'with import <nixpkgs> {}; callPackage /path/to/some/nixpkgs/tools/package-management/home-manager/default.nix {}'
<alex_giusi_tiri>
*could*
<alex_giusi_tiri>
I think you could even specify a http:// archive for the nixpkgs
<alex_giusi_tiri>
I was looking at `nix-shell man` examples, when trying something, but I ended up using nix-build like above
<alex_giusi_tiri>
you could use an archive like this, for eg (with nix-shell): nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/0672315759b3e15e2121365f067c1c8c56bb4722.tar.gz
orivej has joined #nixos
Rusty1 has joined #nixos
b has quit [Quit: leaving]
<hpfr[m]>
What is the nixos equivalent to the lib directory?
<{^_^}>
[nixpkgs] @Infinisil merged pull request #66858 → haskell: mark termonad and focuslist as unbroken → https://git.io/fjFzs
<{^_^}>
[nixpkgs] @Infinisil pushed 3 commits to haskell-updates: https://git.io/fjFg4
<alex_giusi_tiri>
hpfr[m]: I think that each library dependency embedded in executables, they would directly point to the dependent library file in /nix/store/...
<iqubic>
I'm not really upgrading my channel, but removing one.
<iqubic>
I have both the latest stable channel, 19.03 and the unstable channel.
<alex_giusi_tiri>
nix-channel --remove name where name is what is show in --list
<alex_giusi_tiri>
I guess it would be `nix-channel --remove nixos-19.03`
<iqubic>
I see.
<iqubic>
But then would I have to do a rebuild?
<alex_giusi_tiri>
I think so. I think you might need to do `nix-channel --update` to be sure
<alex_giusi_tiri>
before, as well
<alex_giusi_tiri>
and, if it's for the whole system, run those as root (sudo)
<iqubic>
Cool
<alex_giusi_tiri>
and, for completeness, if you `... --add url name` where name is already present, then that named entry would get its url updated
jgt has joined #nixos
alex_giusi_tiri has quit [Quit: Leaving.]
jgt has quit [Ping timeout: 250 seconds]
<iqubic>
Is there a way to rename a channel?
<hpfr[m]>
Ok so if I have some firmware in the Nix store and there’s a kernel config option that loads it as a module, how does it find it in the store rather than its normal location in /lib/firmware?
<iqubic>
It doesn't. Nix creates a symlink
<clever>
hpfr[m]: nixos looks in /run/booted-system/firmware
<iqubic>
Am I just completely wrong?
<clever>
both booted-system and firmware are symlinks
<iqubic>
Ah.
sb0 has quit [Quit: Leaving]
<iqubic>
clever: Is there a way to rename a channel. Not remove, but rename.
<clever>
iqubic: read --list, then --add and --remove
<iqubic>
I thought there was just a command to do it.
<clever>
nope
<clever>
but behind the scenes, --add/remove/list operate on ~/.nix-channels
<clever>
which is just a text file
<hpfr[m]>
Well how does this firmware in the Nix store get linked to /run/booted-system/firmware? It’s a zip file that I think I’m going to make a package for in an overlay
<iqubic>
Well, I just switched to using nixos-unstable for everything.
<clever>
hpfr[m]: hardware.firmware in configuration.nix
englishm has quit [Excess Flood]
<hpfr[m]>
So in that option I would name the name of the package I’m making
<clever>
hpfr[m]: yeah
englishm has joined #nixos
<hpfr[m]>
Thanks!
<hpfr[m]>
Does anything change if the kernel config for this is set to m for module
<clever>
hpfr[m]: all modules land in /run/booted-system/kernel-modules/
<pbb>
this call to fetchzip evaluates to the derivation you are looking for
<pbb>
now a question from my side: has anyone else had issues with sshd crashing with "Privilege separation user sshd does not exist"?
<clever>
pbb: how did you enable sshd?
<pbb>
I just installed a fresh host using pretty much the default configuration generated by nixos-generate-config and uncommented the line with services.sshd.enable = true;
<hpfr[m]>
pbb: I don’t even need mkDerivation?
<pbb>
hpfr[m]: correct
<clever>
pbb: does sshd exist in /etc/passwd ?
<pbb>
clever: yes
<clever>
pbb: not sure what the error is, try restarting sshd?
<pbb>
I don't have access to the machine while it's running
<pbb>
I can just see the log from the rescue system
<hpfr[m]>
Well the thing is it needs to be a package so I can reference it in options that take packages. So I think I still need mkDerivation
<pbb>
hpfr[m]: you can just use the output of fetchzip, it is the same type as the output of mkDerivation
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<clever>
pbb: does the timestamp match up right in the logs?
<ehmry>
this seems like a problem to be solved with nix flakes...
<dminuoso>
ehmry: Oh I misunderstood.
bakakuna has joined #nixos
bakakuna has quit [Read error: Connection reset by peer]
ottidmes has joined #nixos
<pbb>
clever: the timestamp is correct. when I start the machine and reboot to recovery the timestamps of the log are updated to a few minutes before. why?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Tucky has joined #nixos
Guest16 has joined #nixos
___laika has joined #nixos
<Guest16>
Hi, i have a derivation I'm having trouble building- can somebody point out the error please? `d = derivation rec{ name = "first"; system = builtins.currentSystem; builder = "${(import <nixpkgs>{}).coreutils.outPath}/bin/touch"; args = [ d.outPath ]; }`
<Guest16>
error: ` touch: missing file operand Try 'touch --help' for more information.`
<Guest16>
I am wondering what the source of error here is
<clever>
Guest16: i would expect d.outPath to cause infinite recursion, what happens if you rename the first d and not the 2nd?
hyper_ch2 has quit [Remote host closed the connection]
bakakuna has joined #nixos
<Guest16>
Actually d.outPath prints just fine, and so does d.args, before I build it.
<clever>
Guest16: but the hash of d.outPath depends on d.args
<Guest16>
wait youre right
<Guest16>
these two are different
___laika has quit [Ping timeout: 258 seconds]
<Guest16>
clever: Thank you. It's good info to know that hash depends on args. (should have been common sense but yeah)
<clever>
Guest16: if your doing this in nix repl, its using the previous value of d
<sphalerite>
Guest16: you can use (placeholder "out")
<Guest16>
I was! And I verified your statement too, indeed using the previous value!
<Guest16>
Clears it all up, thanks!
<Guest16>
Can you answer another question? Why does the other path (wrong one) fail to build? I used `ls` and couln't find it there
<Guest16>
is it because nix first builds everything in isolation and then the actual output comes to fruition only if the correct outPath has been built?
<Guest16>
sphalerite: give an example please?
<clever>
Guest16: i think args includes argv[0], not entirely sure though
<Guest16>
I didn't quite get you but thanks, I'll play around a bit more in the hope that I figure this out (not that this is relevant, you've answered the important question )
<Guest16>
Sorry, i'm not clear about `placeholder` function- sphalerite: when you say- 'gets replaced with an output name at build time', what is 'an output name'? clever: I literally started a new repl and pasted `d = derivation rec{ name = "first"; system = builtins.currentSystem; builder = "${(import <nixpkgs>{}).coreutils.outPath}/bin/touch";
<Guest16>
args = [ (placeholder "out") ]; }` in it.
<sphalerite>
Guest16: err, output path
bakakuna has quit [Ping timeout: 246 seconds]
<sphalerite>
Guest16: a derivation has outputs, just one named "out" by default.
<sphalerite>
Guest16: placeholder "out" gets replaced at build time with the _path_ of the "out" output.
<vika_nezrimaya>
Yay, I fixed Lua cross-compilation! I think I need to send a patch ASAP :3
<Guest16>
sphalerite: got it I think- I've built a rough mental model of what you're saying, and it's confirmed by the derivation failure when I say- `placeholder "blahblah"`
<Guest16>
thanks!
<sphalerite>
:)
<Guest16>
:)
<vika_nezrimaya>
oh well
<vika_nezrimaya>
I forgot to do --depth=1
<Guest16>
vika_nezrimaya how big is the repo (assuming git tells you before downloading?)
<vika_nezrimaya>
It's big.
<vika_nezrimaya>
It finished doing with --depth=1 rn
<iqubic>
Warning: the new NixOS configuration has an ‘init’ that is
<iqubic>
incompatible with the current configuration. The new configuration
<iqubic>
won't take effect until you reboot the system.
<iqubic>
warning: error(s) occurred while switching to the new configuration
<iqubic>
Why is this issue croping up?
<clever>
iqubic: you need to reboot your system
<vika_nezrimaya>
You'll have to reboot, sorry :3
<Guest16>
vika_nezrimaya: `du -sh` on the `depth=1` dir please?
<clever>
iqubic: systemd updated
<iqubic>
Ah. I see.
<vika_nezrimaya>
Guest16: 188M
<iqubic>
Should I reboot now?
<vika_nezrimaya>
iqubic: when you're ready
<vika_nezrimaya>
don't forget to save your work!
<Guest16>
vika_nezrimaya: 188m for `depth=1`?
<clever>
iqubic: if you want the new systemd features
<Guest16>
vika_nezrimaya: Is there an alternative at all?
<vika_nezrimaya>
Um... I don't think so :3
<Guest16>
lol, to be honest- I have submitted 1 new derivation and 3 changes before (created by copy paste, fundamnetalls I'm only understanding ttoday, thanks to sphalerite: and clever: ) using the github online interface :)
<Guest16>
vika_nezrimaya: ^^
<Guest16>
But i was hoping if there was an alternative, I'll avoid downloading the humoungously sized repi
<Guest16>
*repo
<sphalerite>
vika_nezrimaya: Guest16: my nixpkgs clone is ~1.4GiB
<sphalerite>
but I'm not sure it downloads that much
<Guest16>
Another reason why I don't plan a local clone anytime soon :)
<vika_nezrimaya>
Guest16: as you can see, you can only download around 200M of sources on the first clone
<vika_nezrimaya>
but remember, with each git pull it'll accumulate history
sphalerite_ has joined #nixos
<vika_nezrimaya>
But that's a good thing!
<vika_nezrimaya>
You'll be able to jump between revisions, bisect regressions and fix them
<Guest16>
yeah, this- https://github.com/NixOS/rfcs/pull/49 may change the situation somewhat. Not that there will ever be a perfect solution. I actually like the current NixOS way, a central place to do everything. I am on a limited data plan right now but as soon as it changes I will probably download stuff
<Guest16>
I'll get to some other work now. Thanks for answering and talking guys. bye.
Guest16 has quit [Remote host closed the connection]
<vika_nezrimaya>
So flakes will allow people who want to use my cool software to just do something like `nix run github:kisik21/hello`? With me basically making a flake an official repository for my software?
bakakuna has quit [Ping timeout: 248 seconds]
<vika_nezrimaya>
That sounds promising...
<vika_nezrimaya>
By the way, what's the difference between default.nix and release.nix? release.nix also contains stuff like tarball builds?
<lovesegfault>
I want to place each configFile.XXX directive in a separate file
<sphalerite_>
,callpackage lovesegfault
<{^_^}>
lovesegfault: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<vika_nezrimaya>
lovesegfault: looks like home-manager
<sphalerite_>
oh :)
<lovesegfault>
Any clue how to do that?
<vika_nezrimaya>
lovesegfault: you can use `import ./file.nix`!
<lovesegfault>
vika_nezrimaya: :O
<vika_nezrimaya>
But
<lovesegfault>
No way, really?
<vika_nezrimaya>
It's better to do it like... wait a minute
<lovesegfault>
Alright :D
<etu>
vika_nezrimaya: Nah, you don't need to put Sign-off lines in
<sphalerite_>
lovesegfault: you can use imports = []; like in nixos config to add more modules to your config
<ekleog>
and I need to +1 srhb about just splitting into multiple files and including them differently
infinee has joined #nixos
<lovesegfault>
ekleog: That's interesting, let me try
<ekleog>
also, I *think* you don't need mkIf here, and you could just do `configFile = lib.optionalAttrs config.isDesktop { mako = { ... }; };`, because you have no risk of infinite looping in here, as far as I can read
<ekleog>
mkIf is a huge hack I'm never really sure how to navigate around, tbh, and I try not to use it as much as possible
<vika_nezrimaya>
Wait WHAT? 501+ packages need to be rebuilt because of one small thing not even appliable to native compiling? How does OfBorg count packages rebuilt?
<{^_^}>
[nixpkgs] @rvolosatovs opened pull request #66892 → gofumpt: Init at 2019-07-29 → https://git.io/fjFwm
<viktiba>
Hi there, I'm about to install NixOS, and I've read the manual, but to make crystal clear on this: do NixOS keep my user space files when I install it on an existing partition currently occupied by another distro? I want to just replace the existing distro with NixOS with live cd, keep my home files, and next boot into NixOS. Is it how it goes? Tha
<viktiba>
nks in advance!
asymptotically has joined #nixos
<vika_nezrimaya>
viktiba: assuming you use NIXOS_LUSTRATE, you can put your /home in /etc/NIXOS_LUSTRATE
Chiliparrot has joined #nixos
<vika_nezrimaya>
But it's better to keep /home on a separate partition
kfound has joined #nixos
<{^_^}>
[nixpkgs] @abbradar opened pull request #66893 → python.pkgs.python-unshare: init at 0.2 → https://git.io/fjFwW
<viktiba>
But I don't use the previous distro. I boot into the live cd, and do the install with that. Do I still need to use Lustrate?
fendor_ has quit [Ping timeout: 246 seconds]
<vika_nezrimaya>
I think you do
<vika_nezrimaya>
Lustration is the process of replacing an existing, but not nessecarily booted distro
<vika_nezrimaya>
Performing it from the very same distro is a very advanced procedure
<vika_nezrimaya>
it's how tools like nixos-infect work
<vika_nezrimaya>
but normal lustration is performed IIRC from the LiveCD
<viktiba>
I see. Thank you. Then I will study Lustrate installation more.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vika_nezrimaya>
@Notkea `man configuration.nix` may or may not help you
Yakulu has joined #nixos
<vika_nezrimaya>
use the / key to start searching stuff
<Notkea[m]>
I'm running release-19.03 so it's showing the same options as the web page. I'm instead trying to see the new options that I can use by importing modules from the unstable channel
<{^_^}>
[nixpkgs] @abbradar pushed to master « python.pkgs.python-unshare: init at 0.2 (#66893) »: https://git.io/fjFrp
psy3497 has quit [Ping timeout: 258 seconds]
cfricke has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
freeman[w] has joined #nixos
<aveltras>
anyone having warning while building config with redshift service ? It builds but warns that services.redshift.latitude has been renamed to location.latitude which i don't see on nixos options page
<srhb>
aveltras: You're probably on unstable but looking at stable options.
<aveltras>
srhb: ye, just seen that the github nixpkgs result given by google was in fact pointing to the 19.03 branch
<aveltras>
my bad
<aveltras>
thanks
<srhb>
No problem.
hyper_ch2 has joined #nixos
m0rphism has joined #nixos
<{^_^}>
[nixpkgs] @lightbulbjim opened pull request #66899 → riot-desktop: rename .desktop file to match app_id → https://git.io/fjFoY
<__monty__>
domenkozar[m]: How ready for production is hercules btw? Might a small open source project benefit from it currently? Or would it entail some maintenance hassle?
<domenkozar[m]>
there's no way to pass custom hooks yet, but I plan to add that :)
boothead has joined #nixos
<domenkozar[m]>
__monty__: quite a few teams using it for production, OSS usage is not ideal as it won't build forks, other than that feel free to start using it :)
<boothead>
Hey folks. Anyone got a working zoom set up? xdg-open doesnt' seem to be working properly in my xfce/xmonad desktop set up... Any suggestions?
<__monty__>
Ah, that's a dealbreaker. Primary usecase is checking PRs.
<cinimod>
But what should I do to override blas-ffi
<cinimod>
?
<srhb>
cinimod: There's a section in the nixpkgs manual about overriding haskell packages. You could use overlays for instance. But your first approach was fine for a one off afaik
boothead has quit [Remote host closed the connection]
<jollyjester>
ok so i added nixpkgs.config.allowUnfree = true; to my config but when i try to run nix-env -iA nixos.unrar it still gives me that error that it has an unfree license
<__monty__>
exarkun: Can't really help but would vgchange/vgscan help? I'm not sure whether they're specific to lvm.
<exarkun>
__monty__: Hm. Dunno. I haven't used lvm much.
<__monty__>
exarkun: What I would do after unmounting some lvm lvs: vgchange -an volGroupXY; then unplug and vgscan to get rid of the information about its existence.
<{^_^}>
[nixpkgs] @eadwu opened pull request #66909 → umockdev: disable failed test → https://git.io/fjF6f
<aveltras>
is there a reason why a nixos configuration would not work for a nixos-install while it works for a classic rebuild ? nixos-install errors with some error about an Assertion : store->isStorePath(ctx) failed
<cinimod>
__monty__: you are right - I forgot
<exarkun>
__monty__: Yea I'm not sure how that could apply to a luks device w/o lvm.
<{^_^}>
[nixpkgs] @PsyanticY opened pull request #66910 → Boto3 upp → https://git.io/fjF6J
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Guest62213 has joined #nixos
nhey_ has quit [Ping timeout: 245 seconds]
niso has joined #nixos
moredhel has quit [Client Quit]
<freeman[w]_>
tilpner, I think I get what you are saying. Your solution makes unstable be available for doing nix-env -i while my solution does not do that
<DigitalKiwi>
it's to compensate for my poor cutting skills ;_;
<DigitalKiwi>
i made a mix of matte/gloss of most of them because i couldn't decide what would be better and it was like 5 in the morning when i sealed them so i figured you were asleep
<freeman[w]_>
cinimod, but did you fix the linker symbols issue for building it?
<cinimod>
I don't understand your question. If I comment out the test stanza in .cabal then the package builds; if I leave the test stanza as is then I get the linker symbols issue
<{^_^}>
[nixpkgs] @abbradar pushed commit from @eadwu to master « umockdev: disable failed test (#66909) »: https://git.io/fjFPJ
MmeQuignon has joined #nixos
sb0_ has joined #nixos
<freeman[w]_>
cinimod, ah yeah, it seems you have it added it
<freeman[w]_>
cinimod, "what does `which ld` return?"
slyfox has quit [Ping timeout: 258 seconds]
veske has joined #nixos
<pie_>
cmcdragonkai: its a crappy hack for the moment but i got python backtraces working by sourcing libpython.py (the python-gdb.py file but not renamed or something) in gdb and by compiling python with debugging enabled
shibboleth has joined #nixos
sb0 has quit [Ping timeout: 246 seconds]
<freeman[w]_>
cinimod, is your project shared anywhere? I would give it a try to build it
MmeQuignon has quit [Ping timeout: 264 seconds]
<cinimod>
freeman[w]_: that's very kind of you - it is shared but not in an easy way - I'd have to do some work to make it easy for you to build
<cinimod>
I'll just try building it myself on linux box
endformationage has joined #nixos
evanjs has joined #nixos
alex_giusi_tiri has joined #nixos
<freeman[w]_>
cinimod, ok
<freeman[w]_>
cinimod, "that's very kind of you" I'd just hit a build while doing something else, not that big of a deal
<{^_^}>
[nixpkgs] @mmahut opened pull request #66923 → python3Packages.pytest-repeat: moving pytest to checkInputs → https://git.io/fjFPO
<cinimod>
The repos are in darcs so I need to modify the derivation to grab them for you
<cinimod>
Maybe I will get chance later or tomorrow
<freeman[w]_>
cinimod, ok
drakonis has joined #nixos
ottidmes has quit [Ping timeout: 244 seconds]
freeman42x[m] has joined #nixos
<freeman[w]_>
cinimod, "what does `which ld` return?"
ilikeheaps has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 272 seconds]
<cinimod>
freeman[w]_: [nix-shell:~/darcs/lapack]$ which ld
<niso>
by chance someone can explain me the "infinite recursion error"? in version 1+2 the vairable imp should be the same: http://paste.debian.net/1096559/
<gchristensen>
is it possible to get qemu to dump tty output to stdout?
<freeman[w]>
cinimod, see my last comment, install it using the Ubuntu and MacOS package managers
xkapastel has joined #nixos
<cinimod>
Doesn't that defeat the purpose of nix?
<slabity>
freeman[m]: You wouldn't really install a library directly in a user environment. Typically you would add it to whatever nix script you were building with.
freeman42x[m] has quit [Read error: No route to host]
<gchristensen>
maybe screenshot and ocr :)
<sphalerite>
gchristensen: -nographic
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<gchristensen>
this was a trap
<infinisil>
,libraries cinimod freeman[w]
<{^_^}>
cinimod freeman[w]: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<infinisil>
cinimod: So yeah the answer is to put gfortran into the environment where you need it, with a shell.nix file usually
<infinisil>
Does that work for you?
moredhel has quit [Ping timeout: 245 seconds]
<cinimod>
infinisil: I thought I had done that - if you wait a few moments I hope to have something you can look at / try yourself
palo has quit [Quit: WeeChat 2.4]
bahamas has joined #nixos
<freeman[w]>
cinimod, `I kind of assumed this was a Nix question` are you familiar with the http://xyproblem.info/ ? The idea is to basically go for your goal and not put weird constraints such as "I can only achieve my goal by doing X (using Nix)"
freeman42x[m] has joined #nixos
<bahamas>
hello. if I have two dirs with source code should I put them into a single dir? or can "src" take a list of dirs?
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjF1u
<worldofpeace>
tilpner: merged 👍️
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #66938 → btanks: fix building with lua 5.2 → https://git.io/fjF1g
<srhb>
bahamas: srcs is a list of sources.
<infinisil>
freeman[w]: This is a Nix channel though, so we can kind of assume they want to use it. If people wanted to throw out Nix's benefits by using some stateful package manager, they probably would've done this already and wouldn't ask here
palo has joined #nixos
<{^_^}>
[nixpkgs] @mmahut opened pull request #66939 → python3Packages.boltztrap2: moving cmake to nativeBuildInputs → https://git.io/fjF1V
<bahamas>
srhb: oh, great. thanks!
evanjs has quit [Ping timeout: 272 seconds]
Guest77 has joined #nixos
Guest77 has quit [Client Quit]
evanjs has joined #nixos
<freeman[w]>
infinisil, `This is a Nix channel though, so we can kind of assume they want to use it.` They do want to use it. But I bet that most people here are smart and know not to chase something that is done too hard in Nix but trivial with other ways. If you got time. Ofc, just use Nix. But you never have infinite time...
<gchristensen>
freeman[w]: if people are asking here, they want to know how to do it with Nix
<freeman[w]>
gchristensen, "if people are asking here, they want to know how to do it with Nix" interesting assumption
<infinisil>
The default is v7, but latest nixpkgs has versions a bit back
sigmundv__ has joined #nixos
hmpffff has joined #nixos
<infinisil>
cinimod: Try changing it with `callPackage ./default.nix { gfortran = pkgs.gfortran48; blas-ffi = ...`
<infinisil>
Or some other versions
ixxie has joined #nixos
<cinimod>
Package ‘gfortran-wrapper-4.8.5’ in /Users/dom/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:380 is not supported on ‘x86_64-darwin’, refusing to evaluate.
<cinimod>
How do I find later versions?
<tilpner>
Thanks, worldofpeace!
sigmundv_ has quit [Ping timeout: 272 seconds]
<infinisil>
cinimod: I'd use the nix repl with tab completion
<infinisil>
:l <nixpkgs>, then pkgs.gfortr<TAB>
<infinisil>
You could even try older nixpkgs versions
<bahamas>
I'm trying to build my project and I get the following message: builder for '/nix/store/xphndjrjcs3dmma3j603hqgzsys3bfrx-python3.7-MowitiGIS-0.0.1.drv' failed with exit code 1. how can I get more details about the error?
<gchristensen>
I have a systemd job, run-vm which runs a qemu VM. I'd like to run a healthcheck after 15min of the run-vm job having started, and then that healthcheck job might run `systemctl restart run-vm`. any tips on doing this?
<tilpner>
selfsymmetric-pa: 0.1 vs 0.2?
<srhb>
gchristensen: Sounds like a timer and a health-check/restart service associated with it?
<freeman[w]>
selfsymmetric-pa, how can I test building that? git-clone your project, put that nix file inside a default.nix and then do nix build?
<tilpner>
selfsymmetric-pa: Your package wants 0.2, but nixpkgs only has 0.1 AFAICT
<tilpner>
gchristensen: qeval used serial things to communicate with the outside
* tilpner
fetch link
<gchristensen>
srhb: hmm... that does sound reasonable, like a service.run-vm.Wants = [ "healthcheck.timer" ]; ?
<gchristensen>
plus a Before = [ "healthcheck.timer" ]
<srhb>
gchristensen: I think that should work, yeah
<selfsymmetric-pa>
freeman42x[m]: you can just take that snippet and import it into your `configuration.nix`
<tilpner>
selfsymmetric-pa: An issue might work, but I feel it's likely to be ignored for a few months until someone needs 0.2 themselves and updates it
<freeman[w]>
infinisil, I don't understand how and where to add that
<infinisil>
freeman[w]: Replace `drv.env` with the above
<freeman[w]>
I think what I need is either propagatedBuildInputs or buildInputs
<srhb>
selfsymmetric-pa: could this be something silly like a mismatch between mpv and python-mpv? That is, someplace there name is wrong.
<freeman[w]>
infinisil, ok, I changed it to: if pkgs.lib.inNixShell then drv.env.overrideAttrs (drv: { buildInputs = old.buildInputs or [] ++ [ make ]; }) else drv
<freeman[w]>
and it still does not see make
<infinisil>
What's the error?
xbreak[m] has joined #nixos
<freeman[w]>
infinisil, error: undefined variable 'old' at /home/neo/Projects/fairy-tale-artificial-general-intelligence-solutions/Sources/Razvan Flavius Panda/Haskell/artificial-general-intelligence/shell.nix:37:73
<tilpner>
selfsymmetric-pa: srhb++ seems to be correct
<{^_^}>
srhb's karma got increased to 67
<infinisil>
freeman[w]: Ah, I meant to write `drv.buildInputs`
<infinisil>
Instead of `old.buildInputs`
bahamas has quit [Ping timeout: 245 seconds]
<tilpner>
selfsymmetric-pa: If you put substituteInPlace setup.py --replace python-mpv mpv into patchPhase, it at least builds
<infinisil>
freeman[w]: And you'll want to use `pkgs.make` instead of `make`
<tilpner>
selfsymmetric-pa: Though... on the other hand, both seem to exist on pypi
<tilpner>
So it building doesn't mean anything if it has no tests
<tilpner>
And it's possible that the mpv package is just different from python-mpv
<tilpner>
And we only have one of those, and you need the other one
<{^_^}>
[nixpkgs] @FRidh pushed commit from @mmahut to master « pythonPackages.mox3: disabling tests »: https://git.io/fjFDK
<tilpner>
They have different version numbers, but link to the same GH page
<tilpner>
This is fantastic
<srhb>
tilpner: lol
<selfsymmetric-pa>
hahaha
<selfsymmetric-pa>
wow
<tilpner>
But if they are the same project, the substituteInPlace is still worth a try
<tilpner>
See if that still works
<selfsymmetric-pa>
I'll give it a shot, thank you so much!
<selfsymmetric-pa>
tilpner++ srhb++
<{^_^}>
srhb's karma got increased to 68, tilpner's karma got increased to 39
<selfsymmetric-pa>
`AttributeError: 'MPV' object has no attribute 'on_key_press'`
<selfsymmetric-pa>
hmm, doesn't look good
<freeman[w]>
(use '--show-trace' to show detailed location information)
<freeman[w]>
infinisil, updated it to: https://gist.github.com/razvan-panda/a0a6c6c1853a08a9afc6ad4af1471c66 and it errors with: error: attribute 'make' missing, at /home/neo/Projects/fairy-tale-artificial-general-intelligence-solutions/Sources/Razvan Flavius Panda/Haskell/artificial-general-intelligence/shell.nix:38:103
<{^_^}>
[nixpkgs] @FRidh pushed commit from @mmahut to master « python3Packages.pytest-repeat: moving pytest to checkInputs »: https://git.io/fjFD7
<yorick>
niso: because you're making the value of {} depend on cfg
<{^_^}>
[nixpkgs] @FRidh merged pull request #66941 → pythonPackages.mixpanel: moving pytest and mock to checkInputs → https://git.io/fjF16
<{^_^}>
[nixpkgs] @FRidh pushed commit from @mmahut to master « pythonPackages.mixpanel: moving pytest and mock to checkInputs »: https://git.io/fjFD5
<tilpner>
gchristensen: Line 33, and the lack of healthchecking
<gchristensen>
tilpner: yeah, well, line 10 doesn't start a VM either! :)
<yorick>
niso: the topmost expression, that is
<freeman[w]>
infinisil, cheers! infinisil++
<{^_^}>
infinisil's karma got increased to 125
<infinisil>
niso: Oh boy, those /nix/store paths aren't supposed to be used directly, this will give you problems down the line
<infinisil>
:)
<niso>
infinisil: aware of that, i'm using them for debugging only
o1lo01ol1o has joined #nixos
<niso>
yorick: what exactly are you refering to?
<infinisil>
Ah I see
<tilpner>
gchristensen: I would have expected you to play around with the health checking part, by having the "I'm up" fail to print randomly, and then detecting a lack of output and automatically restarting run-vm
<niso>
yorick: oh, makes sense - thus i messed up my minimal example :P
<{^_^}>
[nixpkgs] @Izorkin opened pull request #66953 → Enable work variant firewall and fail2ban with iptables-compat → https://git.io/fjFyJ
<tilpner>
selfsymmetric-pa: You need to figure out version is expected. Check the different releases of https://github.com/jaseg/python-mpv for on_key_press, and then provide that version to your application, instead of the 0.1 that is in nixpkgs
<infinisil>
__monty__: You can't fetch release parts with fetchFromGitHub
<infinisil>
It's exclusively for source code
<infinisil>
And source code is preferred
irl25519 has joined #nixos
Johnny_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<__monty__>
infinisil: Yeah, but I figure the vX.Y.Z tag contains the same thing as the vX.Y.Z tarball.
<infinisil>
Ah I guess the release page also includes the source tarball
<infinisil>
(Always?)
<infinisil>
But yeah I suggest fetchFromGitHub, which also makes it easy to switch to other non-release versions
vyorkin` has joined #nixos
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #nixos
freeman42x[m]2 has quit [Ping timeout: 246 seconds]
vyorkin` has quit [Remote host closed the connection]
<aanderse>
Izorkin: i'm not an expert in that area, but taking a quick look at the PR i think it is a good change :) i will comment later today when i get a chance to review more thoroughly.
<Izorkin>
aanderse: thanks
<Izorkin>
aanderse: what else is needed to merge pr #65222
<aanderse>
Izorkin: someone brave enough to click "merge" :D
<aanderse>
Izorkin: i think it is a good change, unfortunately the people who should be clicking "merge" seem uninterested
<aanderse>
i have not forgotten that PR though, it is on my list
<aanderse>
i'll look over it again tonight too i guess
lol-md5 has joined #nixos
<Izorkin>
aanderse: ok
<lol-md5>
so the pijul package works for me (arch linux aur/pijul did not). now i want to install pijul-git https://nest.pijul.com/pijul_org/git-pijul. I'm completely new to nixpkgs, can someone help me port the pkgs/applications/version-management/pijul/default.nix file to pijul-git?
<lol-md5>
also i try to install pijul/default.nix just to test it, i'm using pijul-build default.nix and it says error: cannot auto-call a function that has an argument without a default value ('stdenv')
vyorkin has quit [Remote host closed the connection]
<infinisil>
lol-md5: These files are called from top level attributes, so when you're in the nixpkgs root, you can use `nix-build -A pijul` to build pijul
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjFyg
<infinisil>
lol-md5: This mapping from top-level attribute to files is defined in `nixpkgs/pkgs/top-level/all-packages.nix`
<lol-md5>
infinisil: is the nixpkgs root my clone of the nixpkgs repo?
<infinisil>
lol-md5: So if you intend to package git-pijul, you'll want to add a new file and add a mapping to it there
<infinisil>
lol-md5: Yeah, the nixpkgs repo root
vyorkin has joined #nixos
<lol-md5>
thank you
<srid>
I have `foo = ./foo` in my Haskell source overrides. Now, `./foo/README.md` is a symlink (targetting ../README.md). Does anyone know how I can reference it by with the README.md replaced by actual file (so it exists in the nix store)?
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<Shyim[m]>
can i have in mkOption an default value from another mkOption?
Thra11 has joined #nixos
<samueldr>
__monty__: (github releases) prefer the release from a maintainer if attached to a github release, but _not_ the automatically generated tarballs
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
<samueldr>
the reason is that github may re-generate the tarballs in a non-reproducible manner
<samueldr>
(same contents though)
freeman[w]_ has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<lol-md5>
infinisil: i see a "maintainers.gal_bolle" in the pijul recipe, where are those defined?
<{^_^}>
[nixpkgs] @dtzWill opened pull request #66962 → khal: build and install man page → https://git.io/fjFSp
<clever>
freeman42x: you forgot .meta.description
<{^_^}>
[nixpkgs] @mmahut merged pull request #65995 → nixos/sshguard: create ipsets before starting, and clean up after stopping. → https://git.io/fjH1c
o1lo01ol1o has quit [Remote host closed the connection]
<freeman42x>
evanjs, can you do an exact search by name with nix search? I do not want it to return everything containing the name, I just want an exact match
<freeman42x>
clever, cheers clever++
<{^_^}>
clever's karma got increased to 173
<evanjs>
freeman42x: could do it with regex. eg `^clion$`.
<lol-md5>
rycee: np, but do a little digging yourself next time :)
<rycee>
gchristensen: Now you'll have to keep that link alive for all eternity :-D
<gchristensen>
rycee: I meant to :)
<gchristensen>
it was temporarily lost to a bit bucket when my system's drive went kaput
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<__monty__>
Can you do an inherit inside a list? Feels silly having to first inherit attributes to then put them in a list, and not use them anywhere else. Can I do without the duplication?
<gchristensen>
you probably want with syntax
<rycee>
gchristensen: Really nice looking! I just happened to stumble across the commit.
<gchristensen>
> let x = { a = "a"; b = "b"; c = "c"; }; in with x; [ a b c ]
<__monty__>
Oh, woops, you're right. Not sure what/whether I was thinking.
<infinisil>
gchristensen: Problem is, there's a and b defined in a `let in` around the whole thing
<infinisil>
(that's how the repl currently brings stuff in scope)
<gchristensen>
oh heh
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shu9 has joined #nixos
<__monty__>
Oh, no! Was just merrily squashing framework related build failures but now this: "ld: unknown option: -isysroot" : / Googling has not revealed a solution thusfar.
<fresheyeball>
hey how can I populate /usr/share/dict/words?
evanjs has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer closed pull request #66982 → nixos/timesyncd: run migration even if stateVersion is unset → https://git.io/fjFQr
<infinisil>
fresheyeball: You need that directory specifically?
<infinisil>
Because I'd recommend making the program that wants this read another place
<fresheyeball>
infinisil: there are programs that expect a word list at that location
<iqubic>
So, I'm asking home-manager to grab an overlay from github like this: http://dpaste.com/3SF20B0
<iqubic>
However, it looks like home-manager is refusing to grab the latest version of the nix-community emacs overlay. Anyone know how to force home-manager to grab it.
<iqubic>
??
<infinisil>
fresheyeball: If you don't want to patch them to point to `"${pkgs.netbsd.dict}/share/dict/words` directly, you could declare a `systemd.tmpfiles.rules` rule to symlink that directory to there
<infinisil>
(but I do recommend patching)
evanjs has quit [Ping timeout: 245 seconds]
<rycee>
iqubic: What do you mean by "refusing". Do you get an error message or something?
<fresheyeball>
infinisil: deoplete is a python package I am letting vim manage
<rycee>
iqubic: It might be that you need a `sha256` field when using the attribute set form of `fetchTarball`.
<iqubic>
rycee: this overlay was recently updated to include the function `emacsWithPackagesFromUsePackage` However, home-manager complains that it cannot find this function.
<iqubic>
error: undefined variable 'emacsWithPackagesFromUsePackage' at /home/iqubic/.config/nixpkgs/emacs.nix:12:6
<fresheyeball>
infinisil: how would I use tmpfiles.rules?
<rycee>
iqubic: Right, try `rm .cache/nix/tarballs/*` and run again.
<iqubic>
I will.
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @dtzWill opened pull request #66987 → qownnotes: 19.7.3 -> 19.8.6, use qt's mkDerivation → https://git.io/fjF7P
<fresheyeball>
infinisil: I am giving this a shot! with the `L` option
<infinisil>
fresheyeball: Yup, you might want to use L+ though
mexisme has quit [Ping timeout: 258 seconds]
<Unode>
silly question. Can one easily reuse a nix-shell default.nix with nix-build ? I don't yet fully understand the difference between each but I find myself working fine with nix-shell but then running into errors with nix-build.
<infinisil>
Unode: In most cases, you can define a default.nix for nix-build and it should automatically work for nix-shell too
<fresheyeball>
infinisil: this is great! I am going to use this for my dot files as well!
<Unode>
infinisil: but not vice versa?
<fresheyeball>
I have been searching for a way to not use home-manager
<infinisil>
Unode: Well shell.nix nix-shell file usually only gives you an *environment* for building something, it doesn't include how to build it
<Unode>
infinisil: that's probably my mistake. I tend to mix both. Or better, use default.nix (which describes what to include in the environment) with nix-shell
<infinisil>
fresheyeball: Hehe, why avoid it so desperately?
<fresheyeball>
infinisil: it's a specialized tool for working in a seperate expression
<fresheyeball>
I want my enter system to be one expression and updated with nixos-rebuild switch
<fresheyeball>
no exceptions
<infinisil>
fresheyeball: You can do that with home-manager
<iqubic>
I can confirm that '--option tarball-ttl 0' works well with home-manager. It does not, however, fix my issues.
<fresheyeball>
yeah, you can run it in a service with systemd
<fresheyeball>
its all too much complexity imho
<infinisil>
fresheyeball: That's not much different from what tmpfiles does
<fresheyeball>
this approach is painfully simple
<fresheyeball>
I love it
<infinisil>
Yeah I get what you mean
<iqubic>
It still doesn't recognize that the function 'emacsWithPackagesFromUsePackage' actually does exist in the package I installed.
MmeQuignon has joined #nixos
<fresheyeball>
infinisil: I cannot describe my happyness right now
<fresheyeball>
seriously
<infinisil>
hehe
<infinisil>
fresheyeball: I'm just thinking, might be nice for NixOS to get an option like `users.users.dotfiles.".bashrc".source = "...";` which just gets translated to tmpfiles rules
<fresheyeball>
infinisil: I would like to be able to alter the user envronment from configuration.nix
<fresheyeball>
the whole thing
<fresheyeball>
right now I get .packages
<iqubic>
So I have no idea how to force home-manager to just grab the latest version of this overlay from github.
<fresheyeball>
lame
<infinisil>
Define "the whole user environment"?
<iqubic>
I'm so confused.
<fresheyeball>
infinisil: infinisil the .env for the user. the users.user.<name>.packages modifies it
ottidmes has joined #nixos
<infinisil>
fresheyeball: How about `alias nix-env="echo nope"` :P
<rycee>
iqubic: I didn't understand whether you actually found `emacsWithPackagesFromUsePackage` in the package in nix repl.
<infinisil>
Or just straight up nuke the nix-env binary
<rycee>
I think it's unlikely that Home Manager is doing something to cause the attribute to disappear.
dansho has joined #nixos
<fresheyeball>
infinisil: it's not about that binary
<infinisil>
What other user env do you mean then?
<fresheyeball>
that packages option for the user puts those packages in the users env
selfsymmetric-mu has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
<iqubic>
rycee: I didn't find that particular function.
<iqubic>
I'm not sure how to test for that.
<infinisil>
fresheyeball: Well the .packages option doesn't use nix-env or the normal user env
lovesegfault has quit [Quit: WeeChat 2.5]
<fresheyeball>
infinisil: right, it goes into building an env
<fresheyeball>
that env should be transparent, not a black box with .packages as the only exposed option
<infinisil>
What else is there to expose?
hmpffff has joined #nixos
<fresheyeball>
infinisil: symlinks for example
<fresheyeball>
there are hooks as well I think
<fresheyeball>
I don't know that well
<rycee>
iqubic: I gave it a try and I see a `emacsWithPackagesFromUsePackage` function.
selfsymmetric-mu has joined #nixos
<infinisil>
fresheyeball: But that doesn't really have anything to do with the installed packages
<infinisil>
Or do you just mean a `.dotfiles` option?
<rycee>
So I'm guessing you still have the file cached somewhere.
<infinisil>
Or `.homefiles` rather
<fresheyeball>
infinisil: I am looking for the code in nixpkgs
<iqubic>
niso: I think you aren't fully understand the problem. I'm not trying to install a single package from github, but extend nixpkgs with an overlay that is being fetched from github.
<iqubic>
Except that the fetching part isn't working too well.
<rycee>
iqubic: Seems to work fine for me. Putting `(emacsWithPackagesFromUsePackage { config = ''(use-package nyan-mode blah)''; })` in my `home.packages` works.
<mla>
if i'm using fetchGit with a ref; and i update the git repo (e.g. ref changes, commit to branch etc.) it seems as if nixos-rebuild switch thinks nothing happened; is there a way to have it retrigger the build?
orivej has quit [Ping timeout: 245 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has joined #nixos
__monty__ has quit [Quit: leaving]
___laika has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @veprbl merged pull request #66446 → Updated fix for Perl programs on Darwin → https://git.io/fj7P6