-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding scratch progress on nix profile changes etc #42
base: master
Are you sure you want to change the base?
Commits on Jun 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f166736 - Browse repository at this point
Copy the full SHA f166736View commit details
Commits on Jun 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b210af7 - Browse repository at this point
Copy the full SHA b210af7View commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9c0dcc9 - Browse repository at this point
Copy the full SHA 9c0dcc9View commit details -
Wcześniej podpinałem pliki conf z użyciem klauzuli :include. Niestety w ten sposób wymagana jest wyczyszczenie konfiguracji asdf żeby podłapać system nowo dodane do profilu. (Jak się potem okazało, nawet z dodaniem całego katalogu i tak trzeba resetować konfigurację) Zamiast tego mogę przetłumaczyć na sztywno cały katalog systems na fasl. Wymaga to zachowania konwencji gdzie są fasle. Niestety w tym przypadku wymagana jest pełna kopia a nie symlink, chyba że ustawi się asdf:*resolve-symlinks*. Ustawienie samych linków do asdków wymagałoby użycia truename na symlinku, jednak nie wiem jak by to działało gdyby pliki źródłowe znajdowały się w katalogu wyżej niż sam asd. Teraz problemem jest to, że zainstalowanie tej samej biblioteki do profilu kilka razy pod rząd postępująco nadpisuje wcześniejsze pliki - to znaczy że nie są wykrywane konflikty. Może ostatecznie będzie trzeba kopiować źródła.
Configuration menu - View commit details
-
Copy full SHA for 3ceabab - Browse repository at this point
Copy the full SHA 3ceababView commit details
Commits on Jul 14, 2024
-
teraz cl source registry cache powinien działać z wieloma systemami
Kasper Gałkowski committedJul 14, 2024 Configuration menu - View commit details
-
Copy full SHA for aa7a991 - Browse repository at this point
Copy the full SHA aa7a991View commit details -
już nie trzeba usuwać asd bo używam cl source registry cache
Kasper Gałkowski committedJul 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 66a2d20 - Browse repository at this point
Copy the full SHA 66a2d20View commit details
Commits on Jul 16, 2024
-
TODO build-time-only dependencies
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for d5b963c - Browse repository at this point
Copy the full SHA d5b963cView commit details -
Powinienem tak naprawdę użyć output-files w perform, ale patch byłby większy. Powinno to zostać naprawione u źródła tak czy siak.
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for f917b7b - Browse repository at this point
Copy the full SHA f917b7bView commit details -
poprawiłem nazwy katalogów fasl kiedy pname jest inny od systemu
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 94ad43b - Browse repository at this point
Copy the full SHA 94ad43bView commit details -
przepisałem lispWithPackages aby używało buildEnv
tak się wydaje czyściej bo nie są kopiowane envy wygenerowane w setup hooku Zamiast tego source registry/output translations mają tylko po jednym wpisie z odniesienem do zbudowanego enva pythonPackages robi podobnie nie wiem jak zachowa się symlink do asdf przy konfliktach w profilu
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 41565ea - Browse repository at this point
Copy the full SHA 41565eaView commit details -
na razie nie sprawdzam niezadeklarowanych podsystemów
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 18b825b - Browse repository at this point
Copy the full SHA 18b825bView commit details -
uproszczony library path setup hook
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for c7c1b46 - Browse repository at this point
Copy the full SHA c7c1b46View commit details -
jednak nie można nadpisać output-file żeby load fasli działało
"The manner in which a source file is distinguished from a compiled file is implementation-dependent."
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for da546b1 - Browse repository at this point
Copy the full SHA da546b1View commit details -
Co z kilkoma różynmi wersjami ASDF w profilu?
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 1d02c20 - Browse repository at this point
Copy the full SHA 1d02c20View commit details -
nie działało z nieznanego powodu w substitute bez nawiasów
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 2869465 - Browse repository at this point
Copy the full SHA 2869465View commit details -
usunąłem nie używany już regexp
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 6bb13a0 - Browse repository at this point
Copy the full SHA 6bb13a0View commit details -
ogólnie teraz działa budowanie tylko na sbcl
inne impl mają problem z widocznością output translations prawdopodobnie przyczyną jest sposób traktowania symlinków
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for a3c9f8c - Browse repository at this point
Copy the full SHA a3c9f8cView commit details -
dodatkowa notatka do asdf:load-system
z powodu użycia symlinków w share/common-lisp, aby działało wczytywanie load-system wymagane jest ustawienie asdf:*resolve-symlinks* na nil. Inaczej będzie mapował do zlinkowanego źródła (/nix/store/...-source/*.fasl) zamiast do ścieżki logicznej (~/.nix-profile/share/common-lisp/fasl/.../*.fasl).
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for c5cbfc8 - Browse repository at this point
Copy the full SHA c5cbfc8View commit details -
poprawione tworzenie podwójnych linków do pierwszego systemu
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for e0515be - Browse repository at this point
Copy the full SHA e0515beView commit details -
Podejście z symlinkami + :TREE nie będzie działać.
Różne implementacje mają niekompatybilne traktowanie symlinków. SBCL potrafi nie rozwiązywać. ECL rozwiązuje nawet przy :resolve-symlinks nil jeśli katalog nadrzędny jest symlinkiem. ABCL również potrafi nie rozwiązywać ale wymaga to patcha w ASDF. Ogólnie robi się gnój i chyba lepiej będzie wrócić do niestety bardziej skomplikowanego (ale dającego więcej kontroli) podejścia z :INCLUDE plików konfiguracyjnych w podkatalogach src/fasl z komponentem :IMPLEMENTATION.
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 4bae9fc - Browse repository at this point
Copy the full SHA 4bae9fcView commit details -
translation-function też raczej nie zadziała
ponieważ symlinki są rozwiązane już przez cl:directory i dalej nic z tym nie zrobię '#' will be ignored, and an empty message aborts the commit. # # On branch scratch # Your branch is up to date with 'origin/scratch'. #
Kasper Gałkowski committedJul 16, 2024 Configuration menu - View commit details
-
Copy full SHA for ce94130 - Browse repository at this point
Copy the full SHA ce94130View commit details
Commits on Jul 17, 2024
-
Spróbowałem zapisywania output translations do conf.d poprzedzonych #…
…+ECL, żeby nie było potrzeby tworzenia podkatalogów na każdą implementację. W ten sposób działałoby to przy wrzuceniu całego conf.d do XDG_DATA_DIRS. Niestety w ten sposób nie zostanie obsłużony przypadek różnych wersji tej samej implementacji, więc prawdopodobnie będę musiał tak czy siak tworzyć podkatalogi asdf:implementation-identifier i być może dodać nową zmienną NIX_ASDF_OUTPUT_TRANSLATION_CONF_DIRS po to, żeby nie musieć wrzucać sexpr do ASDF_OUTPUT_TRANSLATIONS co przeszkadza w ustawianiu jej z użyciem shell-friendly DSL przez użytkownika. Ta nowa zmienna działałaby tylko w wrapperze withPackages (lub być może również w buildPhase po setup hooku), więc raczej nie muszę się przejmować używalnością tego przez użytkownika, tzn. ta zmienna będzie szczegółem implementacyjnym nie udokumentowanym w podręczniku.
Kasper Gałkowski committedJul 17, 2024 Configuration menu - View commit details
-
Copy full SHA for f427352 - Browse repository at this point
Copy the full SHA f427352View commit details