pkgs: fix typos

This commit is contained in:
danjujan
2024-10-25 15:18:18 +02:00
committed by Mic92
parent 97603a5c97
commit a9552b07c6
10 changed files with 15 additions and 15 deletions

View File

@@ -105,7 +105,7 @@ class GObjApi:
for m_name, m_signature in fn_signatures.items():
if m_name not in overwrite_fns:
continue
# check if the signature of the overriden method matches
# check if the signature of the overridden method matches
# the implementation signature
exp_args = []
exp_return = m_signature.return_annotation

View File

@@ -127,7 +127,7 @@ python3.pkgs.buildPythonApplication rec {
export HOME=.home
fc-cache --verbose
# > fc-cache succeded
# > fc-cache succeeded
echo "Loaded the following fonts ..."
fc-list
@@ -167,7 +167,7 @@ python3.pkgs.buildPythonApplication rec {
export HOME=.home
fc-cache --verbose
# > fc-cache succeded
# > fc-cache succeeded
echo "Loaded the following fonts ..."
fc-list

View File

@@ -28,7 +28,7 @@ class Command:
extra_env = {}
env = os.environ.copy()
env.update(extra_env)
# We start a new session here so that we can than more reliably kill all childs as well
# We start a new session here so that we can than more reliably kill all children as well
p = subprocess.Popen(
command,
env=env,

View File

@@ -4,7 +4,7 @@ The clan-cli contains the command line interface
## Hacking on the cli
We recommend setting up [direnv](https://direnv.net/) to load the developement with nix.
We recommend setting up [direnv](https://direnv.net/) to load the development with nix.
If you do not have it set up you can also use `nix develop` directly like this:
```

View File

@@ -180,7 +180,7 @@ python3.pkgs.buildPythonApplication {
'';
# Clean up after the package to avoid leaking python packages into a devshell
# TODO: factor seperate cli / API packages
# TODO: factor separate cli / API packages
postFixup = ''
rm $out/nix-support/propagated-build-inputs
'';

View File

@@ -28,7 +28,7 @@ class Command:
extra_env = {}
env = os.environ.copy()
env.update(extra_env)
# We start a new session here so that we can than more reliably kill all childs as well
# We start a new session here so that we can than more reliably kill all children as well
p = subprocess.Popen(
command,
env=env,

View File

@@ -111,7 +111,7 @@ python3.pkgs.buildPythonApplication rec {
export HOME=.home
fc-cache --verbose
# > fc-cache succeded
# > fc-cache succeeded
echo "Loaded the following fonts ..."
fc-list
@@ -149,7 +149,7 @@ python3.pkgs.buildPythonApplication rec {
export HOME=.home
fc-cache --verbose
# > fc-cache succeded
# > fc-cache succeeded
echo "Loaded the following fonts ..."
fc-list

View File

@@ -1,7 +1,7 @@
# Webkit GTK doesn't interop flawless with Solid.js build result
1. Webkit expects script tag to be in `body` only solid.js puts the in the head.
2. script and css files are loaded with type="module" and crossorigin tags beeing set. WebKit silently fails to load then.
2. script and css files are loaded with type="module" and crossorigin tags being set. WebKit silently fails to load then.
3. Paths to resiources are not allowed to start with "/" because webkit interprets them relative to the system and not the base url.
4. webkit doesn't support native features such as directly handling external urls (i.e opening them in the default browser)
6. Other problems to be found?

View File

@@ -28,7 +28,7 @@ class Command:
extra_env = {}
env = os.environ.copy()
env.update(extra_env)
# We start a new session here so that we can than more reliably kill all childs as well
# We start a new session here so that we can than more reliably kill all children as well
p = subprocess.Popen(
command,
env=env,

View File

@@ -143,7 +143,7 @@ def field_def_from_default_value(
return finalize_field(
field_types=field_types,
default_factory="dict",
type_apendix=" | dict[str,Any]",
type_appendix=" | dict[str,Any]",
)
if default_value == "name":
return None
@@ -171,10 +171,10 @@ def get_field_def(
field_types: set[str],
default: str | None = None,
default_factory: str | None = None,
type_apendix: str = "",
type_appendix: str = "",
) -> str:
sorted_field_types = sorted(field_types)
serialised_types = " | ".join(sorted_field_types) + type_apendix
serialised_types = " | ".join(sorted_field_types) + type_appendix
if not default and not default_factory and not field_meta:
return f"{field_name}: {serialised_types}"
field_init = "field("