mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-29 04:39:53 +00:00
move nix files to folder (#520)
* move nix files to folder * move nix to scripts
This commit is contained in:
parent
1b930e717a
commit
7f8afb0c12
5 changed files with 4 additions and 4 deletions
|
@ -18,10 +18,10 @@
|
||||||
name = "simplex-chat";
|
name = "simplex-chat";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
};
|
};
|
||||||
sha256map = import ./sha256map.nix;
|
sha256map = import ./scripts/nix/sha256map.nix;
|
||||||
modules = [{
|
modules = [{
|
||||||
packages.direct-sqlite.patches = [ ./direct-sqlite-2.3.26.patch ];
|
packages.direct-sqlite.patches = [ ./scripts/nix/direct-sqlite-2.3.26.patch ];
|
||||||
packages.entropy.patches = [ ./entropy.patch ];
|
packages.entropy.patches = [ ./scripts/nix/entropy.patch ];
|
||||||
}
|
}
|
||||||
({ pkgs,lib, ... }: lib.mkIf (pkgs.stdenv.hostPlatform.isAndroid) {
|
({ pkgs,lib, ... }: lib.mkIf (pkgs.stdenv.hostPlatform.isAndroid) {
|
||||||
packages.simplex-chat.components.library.ghcOptions = [ "-pie" ];
|
packages.simplex-chat.components.library.ghcOptions = [ "-pie" ];
|
||||||
|
@ -329,7 +329,7 @@
|
||||||
name = "update-sha256map";
|
name = "update-sha256map";
|
||||||
runtimeInputs = [ pkgs.nix-prefetch-git pkgs.jq pkgs.gawk ];
|
runtimeInputs = [ pkgs.nix-prefetch-git pkgs.jq pkgs.gawk ];
|
||||||
text = ''
|
text = ''
|
||||||
gawk -f update-sha256.awk cabal.project > sha256map.nix
|
gawk -f ./scripts/nix/update-sha256.awk cabal.project > ./scripts/nix/sha256map.nix
|
||||||
'';
|
'';
|
||||||
}; in
|
}; in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue