dubious (mostly style) changes in flake
This commit is contained in:
parent
f72c59f79d
commit
cc050f62fc
1 changed files with 8 additions and 8 deletions
16
flake.nix
16
flake.nix
|
|
@ -40,6 +40,10 @@
|
|||
);
|
||||
|
||||
package = importYAML "${src}/pubspec.yaml";
|
||||
|
||||
usedFlutter = (pkgs.flutter.override { extraPkgConfigPackages = [ pkgs.libsecret ]; });
|
||||
|
||||
buildInputs = [ pkgs.sqlite ];
|
||||
in
|
||||
{
|
||||
_module.args.pkgs = import nixpkgs {
|
||||
|
|
@ -57,23 +61,19 @@
|
|||
olm
|
||||
git
|
||||
clang
|
||||
(flutter.override { extraPkgConfigPackages = [ pkgs.libsecret ]; })
|
||||
usedFlutter
|
||||
|
||||
(pkgs.writeShellScriptBin "rustup" (builtins.readFile ./nix/fake-rustup.sh))
|
||||
];
|
||||
|
||||
env = {
|
||||
LD_LIBRARY_PATH = "${
|
||||
pkgs.lib.makeLibraryPath ([
|
||||
pkgs.sqlite
|
||||
])
|
||||
}:./build/native_assets/linux";
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}:./build/native_assets/linux";
|
||||
CPATH = lib.makeSearchPath "include" [ pkgs.glibc.dev ];
|
||||
};
|
||||
};
|
||||
|
||||
packages.default = pkgs.flutter.buildFlutterApplication {
|
||||
inherit src;
|
||||
packages.default = usedFlutter.buildFlutterApplication {
|
||||
inherit src buildInputs;
|
||||
pname = package.name;
|
||||
version = package.version;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue