# Toml sources path is OS dependant

**URL:** https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920
**Category:** General Usage
**Tags:** pkg, toml
**Created:** [January 7, 2026, 12:13am UTC](https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920 "2026-01-07T00:13:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![KSepetanc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ksepetanc/32/10841_2.png) [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)
#### Post date: [January 7, 2026, 12:13am UTC](https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920/1 "2026-01-07T00:13:07Z")

</div>

I had sources path defined in Project.toml as follows:

```julia-auto
[sources]
App = {path = "../App.jl"}

```

Once environment is activated and instantiated on Windows, the path auto-converts to “\\” version. This is fine for Windows, but it does not work on Linux (invalid path). This is problem for working on a project that should run both on Windows and Linux. Should this be treated and reported as Pkg bug? I am using Julia 1.12.

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [January 7, 2026, 12:08pm UTC](https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920/2 "2026-01-07T12:08:07Z")

</div>

Yes, it is a bug. But I think it should be fixed by [normalize paths when writing a project file by KristofferC · Pull Request #4444 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/pull/4444). What 1.12 are you using? Maybe try `1.12-nightly`. 1.12.4 should release soon which should definitely have this in it (but I thought 1.12.3 also had it).

---

<div class="post-metadata">

### Author: ![KSepetanc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ksepetanc/32/10841_2.png) [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)
#### Post date: [January 7, 2026, 4:15pm UTC](https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920/3 "2026-01-07T16:15:23Z")

</div>

I used 1.12.3 and tried it now with 1.12-nightly. It still persists, i.e. it is not fixed. Can you fix that during testing period?

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [January 9, 2026, 8:37pm UTC](https://discourse.julialang.org/t/toml-sources-path-is-os-dependant/134920/4 "2026-01-09T20:37:41Z")

</div>

I missed this reply, it seems it has been missed to be backported, unfortunately. It will have to go into the next one then.
